/* ══════════════════════════════════════════════════
   SANTANDER SELECT — Design System v2
   Approach: Editorial Luxury, sans clichês de IA
   ══════════════════════════════════════════════════ */

/* ── Proteção de conteúdo ── */
*, *::before, *::after {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
input, textarea, [contenteditable] {
  -webkit-user-select: text;
  -moz-user-select: text;
  user-select: text;
}
img { pointer-events: none; -webkit-user-drag: none; }

/* ── Tokens ── */
:root {
  --red:        #ec0000;
  --red-d:      #c00000;
  --red-s:      rgba(236,0,0,0.08);

  --bg:         #0d0d0d;
  --bg-1:       #141414;
  --bg-2:       #1a1a1a;
  --bg-3:       #222222;

  --line:       rgba(255,255,255,0.07);
  --line-m:     rgba(255,255,255,0.13);

  --tx:         #f0f0f0;
  --tx-2:       rgba(240,240,240,0.52);
  --tx-3:       rgba(240,240,240,0.28);

  --font:       'Plus Jakarta Sans', sans-serif;

  /* Easing — zero ease-in-out */
  --expo:       cubic-bezier(0.19, 1, 0.22, 1);
  --spring:     cubic-bezier(0.32, 0.72, 0, 1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--tx);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  max-width: 100vw;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ── Noise (Fixed, GPU-only) ── */
.noise {
  position: fixed; inset: 0; z-index: 300;
  pointer-events: none;
  opacity: 0.022;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
}

/* ── Layout ── */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.5rem;
  box-sizing: border-box;
  width: 100%;
}
@media (max-width: 768px) { .wrap { padding: 0 1.25rem; } }
@media (max-width: 375px) { .wrap { padding: 0 1rem; } }

/* ── Hero CSS Animation (substitui js-reveal no hero) ── */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(1.5rem); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-anim {
  animation: heroFadeUp 0.65s cubic-bezier(0.19, 1, 0.22, 1) both;
  animation-delay: var(--ad, 0ms);
}

/* ── Buttons ── */
.btn-red {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  background: var(--red);
  color: #fff;
  padding: 0.875rem 1.75rem;
  border-radius: 6px;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: none;
  cursor: pointer;
  transition:
    background 220ms var(--expo),
    transform  180ms var(--spring);
  /* Mobile safe */
  box-sizing: border-box;
  max-width: 100%;
  white-space: nowrap;
}
.btn-red:hover  { background: var(--red-d); }
.btn-red:active { transform: scale(0.98); }
.btn-red svg    { flex-shrink: 0; transition: transform 300ms var(--expo); }
.btn-red:hover svg { transform: translateX(3px); }

.btn-line {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--tx-2);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.875rem 1.5rem;
  border-radius: 6px;
  border: 1px solid var(--line-m);
  transition: color 200ms var(--expo), border-color 200ms var(--expo);
  /* Mobile safe */
  box-sizing: border-box;
  max-width: 100%;
  white-space: nowrap;
}
.btn-line:hover { color: var(--tx); border-color: rgba(255,255,255,0.25); }

/* ── Logo ── */
.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
}
.logo-img {
  /* Full Santander wordmark SVG — no background, red on transparent */
  height: 20px;
  width: auto;
  object-fit: contain;
  display: block;
}
.logo-select-tag {
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tx-3);
  border-left: 1px solid var(--line-m);
  padding-left: 0.5rem;
  margin-left: 0.0625rem;
  line-height: 1;
}

/* Footer logo */
.footer-logo-img {
  height: 18px;
  width: auto;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}


/* ══════════════════════════════
   HEADER
   ══════════════════════════════ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(13,13,13,0.82);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}
.nav-item {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--tx-2);
  padding: 0.5rem 0.875rem;
  border-radius: 5px;
  transition: color 180ms var(--expo), background 180ms var(--expo);
}
.nav-item:hover { color: var(--tx); background: rgba(255,255,255,0.05); }

.header-cta {
  margin-left: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  background: var(--red);
  color: #fff;
  padding: 0.5rem 1.25rem;
  border-radius: 5px;
  transition: background 180ms var(--expo);
  flex-shrink: 0;
}
.header-cta:hover { background: var(--red-d); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  margin-left: auto;
}
.menu-toggle span {
  display: block;
  width: 20px; height: 1.5px;
  background: var(--tx);
  border-radius: 4px;
  transform-origin: center;
  transition: transform 380ms var(--spring), opacity 200ms var(--expo);
  will-change: transform;
}
.menu-toggle.open span:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-toggle.open span:last-child  { transform: translateY(-3.25px) rotate(-45deg); }

@media (max-width: 768px) {
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: flex; }
  .header-inner { padding: 0 1.25rem; }
}

/* ── Drawer ── */
.drawer {
  position: fixed;
  inset: 64px 0 0 0;
  z-index: 90;
  background: rgba(10,10,10,0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem 1.25rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity 300ms var(--expo);
}
.drawer.open { opacity: 1; pointer-events: all; }

.drawer-nav { display: flex; flex-direction: column; gap: 0; }
.drawer-link {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--tx-2);
  opacity: 0;
  transform: translateY(1.5rem);
  transition:
    opacity 450ms var(--expo),
    transform 450ms var(--expo),
    color 180ms var(--expo);
  will-change: transform, opacity;
}
.drawer.open .drawer-link { opacity: 1; transform: translateY(0); }
.drawer.open [data-i="0"] { transition-delay: 50ms; }
.drawer.open [data-i="1"] { transition-delay: 100ms; }
.drawer.open [data-i="2"] { transition-delay: 150ms; }
.drawer-link:hover { color: var(--tx); }

/* ══════════════════════════════
   REVEAL ANIMATION
   ══════════════════════════════ */
.js-reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition:
    opacity  700ms var(--expo),
    transform 700ms var(--expo);
  will-change: transform, opacity;
}
.js-reveal.in { opacity: 1; transform: translateY(0); }

/* Fallback: se js-reveal não disparou em 2s, mostra anyway */
@media (max-width: 768px) {
  .hero .js-reveal {
    animation: revealFallback 0.01ms 2s forwards;
  }
  .hero .js-reveal.in {
    animation: none;
  }
  @keyframes revealFallback {
    to { opacity: 1; transform: translateY(0); }
  }
}
.js-reveal[data-d="0"] { transition-delay: 0ms; }
.js-reveal[data-d="1"] { transition-delay: 120ms; }
.js-reveal[data-d="2"] { transition-delay: 260ms; }
.js-reveal[data-d="3"] { transition-delay: 400ms; }
.js-reveal[data-d="4"] { transition-delay: 560ms; }

/* ══════════════════════════════
   HERO
   ══════════════════════════════ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 0 4rem;
  overflow: hidden;
  width: 100%;
}
.hero-bg {
  position: absolute;
  width: 900px; height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236,0,0,0.11) 0%, transparent 70%);
  top: -200px; left: -300px;
  pointer-events: none;
  filter: blur(60px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 4rem;
  width: 100%;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  min-width: 0;
}

.hero-tag {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tx-3);
  margin-bottom: 1.5rem;
}

.hero-h1 {
  font-size: clamp(2.5rem, 4.5vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.0;
  color: var(--tx);
  margin-bottom: 1.5rem;
  word-break: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}
.hero-h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--tx-2);
}

.hero-lead {
  font-size: 1.0625rem;
  font-weight: 400;
  color: var(--tx-2);
  line-height: 1.65;
  max-width: 500px;
  margin-bottom: 2.5rem;
  word-break: break-word;
  overflow-wrap: break-word;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
}

/* ── Card Visual ── */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 380px;
}

.card-scene {
  position: relative;
  width: 300px;
  height: 190px;
  perspective: 1200px;
}

.card {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(145deg, #1f1f1f, #2d2d2d);
  border: 1px solid rgba(255,255,255,0.1);
  transition: transform 500ms var(--expo);
  will-change: transform;
}
.card--back {
  transform: rotate(-5deg) translate(-18px, 18px);
  opacity: 0.35;
}
.card--mid {
  transform: rotate(-1.5deg) translate(-6px, 8px);
  opacity: 0.65;
}
.card--front {
  background: linear-gradient(145deg, #191919, #282828);
  border-color: rgba(255,255,255,0.15);
  box-shadow:
    0 30px 80px rgba(0,0,0,0.6),
    0 0 0 1px rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.375rem 1.5rem;
  transform: rotate(2deg) translate(6px, -6px);
}

.card-scene:hover .card--back  { transform: rotate(-7deg) translate(-24px, 24px); }
.card-scene:hover .card--mid   { transform: rotate(-2.5deg) translate(-9px, 12px); }
.card-scene:hover .card--front { transform: rotate(3deg) translate(10px, -10px); }

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.card-tier {
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--red);
}
.card-chip {
  width: 28px; height: 22px;
  background: linear-gradient(135deg, #c8a84b, #a07830);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.chip-grid {
  position: absolute;
  inset: 3px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5px;
}
.chip-grid::before, .chip-grid::after {
  content: '';
  background: rgba(0,0,0,0.2);
  border-radius: 1px;
}
.card-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.card-number {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}
.card-mc { display: flex; }
.mc-l, .mc-r {
  width: 20px; height: 20px;
  border-radius: 50%;
}
.mc-l { background: #eb001b; margin-right: -8px; }
.mc-r { background: #f79e1b; opacity: 0.9; }

/* ── Floating stats ── */
.card-stat {
  position: absolute;
  background: var(--bg-1);
  border: 1px solid var(--line-m);
  border-radius: 10px;
  padding: 0.75rem 1.125rem;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}
.card-stat--1 { bottom: 20px; left: -20px; }
.card-stat--2 { top: 20px; right: -10px; }
.stat-n { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.04em; color: var(--tx); }
.stat-l { font-size: 0.6875rem; color: var(--tx-3); font-weight: 500; }

/* ── Hero ticker ── */
.hero-ticker {
  margin-top: 5rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  white-space: nowrap;
  padding: 0.875rem 0;
}
.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  animation: ticker 28s linear infinite;
  will-change: transform;
}
.ticker-track span {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--tx-3);
  letter-spacing: 0.01em;
}
.ticker-sep { color: var(--red) !important; opacity: 0.5; }
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ══════════════════════════════
   VANTAGENS — Editorial List
   ══════════════════════════════ */
.vantagens {
  padding: 8rem 0;
  border-top: 1px solid var(--line);
}

.vant-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 5rem;
}
.vant-title {
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.05;
}
.vant-lead {
  font-size: 1rem;
  color: var(--tx-2);
  line-height: 1.65;
  padding-bottom: 0.25rem;
}

.vant-list { border-top: 1px solid var(--line); }

.vant-item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 1.875rem 0;
  border-bottom: 1px solid var(--line);
  transition: background 200ms var(--expo);
}
.vant-item:hover { background: rgba(255,255,255,0.015); }

.vant-num {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--tx-3);
}

.vant-body h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 0.375rem;
}
.vant-body p {
  font-size: 0.875rem;
  color: var(--tx-2);
  line-height: 1.6;
  max-width: 580px;
}

.vant-flag {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red-s);
  border: 1px solid rgba(236,0,0,0.18);
  padding: 0.3125rem 0.75rem;
  border-radius: 4px;
  white-space: nowrap;
}

/* ── Stat strip ── */
.stat-strip {
  margin-top: 5rem;
  display: grid;
  /* 4 itens + 3 divisores = 7 colunas */
  grid-template-columns: 1fr 1px 1fr 1px 1fr 1px 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-1);
}
.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 2rem 1.75rem;
}
.stat-div {
  width: 1px;
  background: var(--line);
  align-self: stretch;
}
.stat-big {
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--tx);
}
.stat-desc {
  font-size: 0.8125rem;
  color: var(--tx-2);
  line-height: 1.4;
}

/* ══════════════════════════════
   COMO FUNCIONA
   ══════════════════════════════ */
.como {
  padding: 8rem 0;
  border-top: 1px solid var(--line);
  background: var(--bg-1);
}

.como-header { margin-bottom: 5rem; }
.como-title {
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.como-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.como-step {
  padding: 2.5rem;
  border-right: 1px solid var(--line);
  position: relative;
}
.como-step:last-child { border-right: none; }

.step-n {
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -0.06em;
  color: var(--line-m);
  line-height: 1;
  margin-bottom: 1.25rem;
  transition: color 300ms var(--expo);
}
.como-step:hover .step-n { color: var(--red); }

.step-info h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 0.625rem;
}
.step-info p {
  font-size: 0.875rem;
  color: var(--tx-2);
  line-height: 1.65;
}

/* ══════════════════════════════
   FORMULÁRIO MULTI-STEP
   ══════════════════════════════ */
.form-section {
  padding: 8rem 0;
  border-top: 1px solid var(--line);
}

.form-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 5rem;
  align-items: start;
}

/* ── Sidebar ── */
.form-sidebar { position: relative; }
.sidebar-sticky {
  position: sticky;
  top: 90px;        /* below fixed header */
}
.sidebar-tag {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.25rem;
}
.sidebar-title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.05;
  margin-bottom: 1rem;
}
.sidebar-desc {
  font-size: 0.875rem;
  color: var(--tx-2);
  line-height: 1.65;
  margin-bottom: 2.5rem;
}

/* Sidebar steps */
.sidebar-steps { display: flex; flex-direction: column; gap: 0; margin-bottom: 2.5rem; }
.ss-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--line);
}
.ss-item:first-child { border-top: 1px solid var(--line); }
.ss-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 1px solid var(--line-m);
  flex-shrink: 0;
  transition: background 300ms var(--expo), border-color 300ms var(--expo);
}
.ss-item span {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--tx-3);
  transition: color 300ms var(--expo);
}
.ss-item.ss-active .ss-dot  { background: var(--red); border-color: var(--red); }
.ss-item.ss-active span     { color: var(--tx); }
.ss-item.ss-done .ss-dot    { background: var(--bg-3); border-color: rgba(255,255,255,0.25); }
.ss-item.ss-done span       { color: var(--tx-2); }

.sidebar-seals { display: flex; gap: 1rem; flex-wrap: wrap; }
.seal {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--tx-3);
  letter-spacing: 0.04em;
}
.seal svg { color: var(--tx-3); }

/* ── Form Panel ── */
.form-panel { display: flex; flex-direction: column; gap: 1.5rem; }

.form-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

/* Progress bar */
.form-bar {
  height: 3px;
  background: var(--bg-3);
}
.form-bar-fill {
  height: 100%;
  background: var(--red);
  width: 0%;
  transition: width 500ms var(--spring);
}

/* Step wrapper */
.form-step-wrap {
  padding: 2.5rem;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative; /* needed for CPF block overlay */
}

/* Individual step */
.form-step { animation: stepIn 400ms var(--expo) both; }
@keyframes stepIn {
  from { opacity: 0; transform: translateX(1.5rem); }
  to   { opacity: 1; transform: translateX(0); }
}
.step-question {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tx-3);
  margin-bottom: 0.875rem;
}
.step-label {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: 2rem;
  line-height: 1.2;
}
.step-label em { font-style: normal; color: var(--red); }

/* Input dentro do step */
.step-input-wrap { position: relative; }
.step-input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line-m);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  font-size: 1.0625rem;
  font-weight: 500;
  font-family: var(--font);
  color: var(--tx);
  outline: none;
  transition: border-color 200ms var(--expo), box-shadow 200ms var(--expo);
  letter-spacing: -0.01em;
}
.step-input::placeholder { color: var(--tx-3); font-weight: 400; }
.step-input:focus {
  border-color: rgba(255,255,255,0.3);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.04);
}
.step-input.error {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(236,0,0,0.08);
}

.step-error {
  font-size: 0.75rem;
  color: var(--red);
  margin-top: 0.5rem;
  display: none;
}
.step-error.show { display: block; }

/* Chips de sugestão */
.step-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.step-chip {
  padding: 0.4375rem 0.875rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--tx-2);
  cursor: pointer;
  font-family: var(--font);
  transition:
    border-color 180ms var(--expo),
    color 180ms var(--expo),
    background 180ms var(--expo);
}
.step-chip:hover {
  border-color: var(--line-m);
  color: var(--tx);
  background: var(--bg-3);
}

/* Hint abaixo do input */
.step-hint {
  font-size: 0.75rem;
  color: var(--tx-3);
  margin-top: 0.5rem;
}

/* ── CEP expandable address block ── */
.cep-expand {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 380ms ease, opacity 280ms ease;
}
.cep-expand.open {
  max-height: 700px;
  opacity: 1;
}

/* Loading indicator */
.addr-loading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--tx-3);
  padding: 0.75rem 0;
}
@keyframes _spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.addr-spin { animation: _spin 0.85s linear infinite; flex-shrink: 0; }

/* Not-found warning */
.addr-not-found {
  font-size: 0.8125rem;
  color: var(--yellow);
  padding: 0.5rem 0 0.25rem;
}

/* Field group wrapper */
.addr-fields {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  margin-top: 0.75rem;
}

/* Row: two fields side by side */
.addr-row {
  display: flex;
  gap: 0.625rem;
}
.addr-row .addr-field { flex: 1; min-width: 0; }
.addr-row .addr-field--xs  { flex: 0 0 90px; }
.addr-row .addr-field--xxs { flex: 0 0 64px; }

/* Individual field */
.addr-field { display: flex; flex-direction: column; gap: 0.3rem; }

.addr-label {
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tx-3);
}
.addr-req { color: var(--red); margin-left: 1px; }
.addr-opt { font-weight: 400; letter-spacing: 0; text-transform: none; opacity: 0.6; }

.addr-input {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0.625rem 0.75rem;
  font-size: 0.875rem;
  color: var(--tx);
  width: 100%;
  transition: border-color 180ms var(--expo), background 180ms var(--expo);
  outline: none;
  font-family: inherit;
}
.addr-input::placeholder { color: var(--tx-3); }
.addr-input:focus {
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.06);
}
.addr-input.error { border-color: var(--red) !important; }

/* Inline error for número */
.addr-error {
  font-size: 0.75rem;
  color: var(--red);
  display: none;
}
.addr-error.show { display: block; }

/* Mobile */
@media (max-width: 480px) {
  .addr-row { flex-wrap: wrap; }
  .addr-row .addr-field--xs,
  .addr-row .addr-field--xxs { flex: 0 0 80px; }
}

/* ── Navegação do Form ── */
.form-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.form-btn-back {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--tx-2);
  padding: 0.875rem 1.25rem;
  border-radius: 6px;
  border: 1px solid var(--line);
  transition: color 180ms var(--expo), border-color 180ms var(--expo);
}
.form-btn-back:hover { color: var(--tx); border-color: var(--line-m); }
.form-btn-next {
  margin-left: auto;
}

/* ══════════════════════════════
   FOOTER
   ══════════════════════════════ */
.footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 0;
}
.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 2.5rem;
}
.footer-brand { display: flex; align-items: flex-start; gap: 1rem; }
.footer-name { font-size: 0.875rem; font-weight: 700; margin-bottom: 0.25rem; }
.footer-legal { font-size: 0.6875rem; color: var(--tx-3); line-height: 1.6; }

.footer-links { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.footer-link {
  font-size: 0.75rem;
  color: var(--tx-3);
  transition: color 180ms var(--expo);
}
.footer-link:hover { color: var(--tx-2); }

.footer-disclaimer {
  border-top: 1px solid var(--line);
  padding: 1.25rem 2.5rem;
  max-width: none;
}
.footer-disclaimer p {
  font-size: 0.6875rem;
  color: var(--tx-3);
  line-height: 1.7;
  max-width: 900px;
}

/* ══════════════════════════════
   MODAL
   ══════════════════════════════ */
.modal {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  padding: 1.25rem;
  opacity: 0; pointer-events: none;
  transition: opacity 300ms var(--expo);
}
.modal.open { opacity: 1; pointer-events: all; }

.modal-box {
  background: var(--bg-1);
  border: 1px solid var(--line-m);
  border-radius: 14px;
  padding: 2.5rem;
  max-width: 460px;
  width: 100%;
  text-align: center;
  transform: translateY(1.25rem) scale(0.98);
  transition: transform 400ms var(--spring);
}
.modal.open .modal-box { transform: translateY(0) scale(1); }

.modal-check {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--red-s);
  border: 1px solid rgba(236,0,0,0.2);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
}
.modal-box h3 {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  margin-bottom: 0.75rem;
}
.modal-text {
  font-size: 0.875rem;
  color: var(--tx-2);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
.modal-summary {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.125rem;
  font-size: 0.8125rem;
  color: var(--tx-2);
  text-align: left;
  line-height: 1.9;
  margin-bottom: 1.75rem;
}
.modal-summary strong { color: var(--tx); }
.modal-btn { width: 100%; justify-content: center; border-radius: 8px; }

/* WhatsApp alert block inside modal */
.modal-whatsapp-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: rgba(37, 211, 102, 0.06);
  border: 1px solid rgba(37, 211, 102, 0.2);
  border-radius: 10px;
  padding: 0.875rem 1rem;
  margin-bottom: 1.25rem;
  text-align: left;
  color: rgba(37, 211, 102, 0.9);
}
.modal-whatsapp-alert svg {
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.modal-whatsapp-alert p {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--tx-2);
  margin: 0;
}
.modal-whatsapp-alert p strong {
  color: var(--tx);
}

/* ══════════════════════════════
   RESPONSIVE — All Devices
   320px → 375px → 480px → 768px → 1024px
   ══════════════════════════════ */

/* ── Tablet & small laptop ─────────────────────── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { display: none; }
  .hero-copy { align-items: center; text-align: center; max-width: 100%; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }

  .como-steps { grid-template-columns: 1fr 1fr; }

  .form-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .sidebar-sticky { position: static; }
  .sidebar-steps { display: none; }
}

/* ── Mobile landscape / phablet ────────────────── */
@media (max-width: 768px) {
  .wrap { padding: 0 1.25rem; }

  /* ── HERO FIX — nuclear ─────────────────────── */
  .hero {
    padding: 6rem 0 2.5rem;
    min-height: auto;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-copy {
    align-items: center;
    text-align: center;
    max-width: 100%;
  }

  /* Forçar H1 visível — previne js-reveal travado */
  .hero .js-reveal {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }

  .hero-h1 {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
    max-width: 100%;
    word-break: break-word;
  }
  .hero-h1 br { display: none; }

  .hero-tag { margin-bottom: 1rem; }

  .hero-lead {
    font-size: 0.9375rem;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
  }
  .hero-actions .btn-red,
  .hero-actions .btn-line {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }

  .hero-ticker { margin-top: 2.5rem; }

  /* ── Sections ───────────────────────────────── */
  .vantagens, .como, .form-section { padding: 4rem 0; }

  .vant-item { grid-template-columns: 40px 1fr; gap: 1rem; }
  .vant-flag { display: none; }
  .vant-body p { font-size: 0.8125rem; }

  /* stat-strip mobile: 2 itens visíveis = 3 colunas (item|div|item) */
  .stat-strip {
    grid-template-columns: 1fr 1px 1fr;
    border-radius: 8px;
  }
  /* esconde os últimos 4 filhos (div+item+div+item) */
  .stat-strip > *:nth-child(n+4) { display: none; }
  .stat-item { padding: 1.25rem 1rem; }
  .stat-big { font-size: 1.5rem; }

  .como-steps { grid-template-columns: 1fr; }
  .como-step { border-right: none; border-bottom: 1px solid var(--line); }
  .como-step:last-child { border-bottom: none; }
  .como-header { margin-bottom: 3rem; }
  .como-step { padding: 1.75rem 1.25rem; }
  .step-n { font-size: 2.75rem; }

  .form-step-wrap { padding: 1.5rem; }
  .step-label { font-size: 1.25rem; margin-bottom: 1.5rem; }
  .step-input { font-size: 1rem; padding: 0.875rem 1rem; }

  .form-nav { gap: 0.5rem; }
  .form-btn-back { padding: 0.75rem 1rem; font-size: 0.8125rem; }
  .form-btn-next { padding: 0.75rem 1.25rem; font-size: 0.8125rem; }

  .sidebar-title { font-size: 1.625rem; }
  .sidebar-desc { margin-bottom: 1.5rem; }

  .footer-inner { flex-direction: column; gap: 1.5rem; }
  .footer-links { gap: 1rem; }
  .footer-disclaimer { padding: 1.25rem; }

  .modal-box { padding: 1.75rem 1.5rem; }
  .modal-box h3 { font-size: 1.125rem; }

  .drawer-link { font-size: 1.5rem; padding: 0.75rem 0; }

  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: flex; }
  .header-inner { padding: 0 1.25rem; height: 56px; }
}

/* ── Standard phone ────────────────────────────── */
@media (max-width: 480px) {
  .wrap { padding: 0 1rem; }

  .hero { padding: 5.5rem 0 2.5rem; }
  .hero-h1 { font-size: clamp(1.75rem, 8vw, 2.25rem); margin-bottom: 1rem; }
  .hero-lead { font-size: 0.875rem; margin-bottom: 1.75rem; }

  .vantagens, .como, .form-section { padding: 3rem 0; }

  .vant-header { margin-bottom: 2.5rem; }
  .vant-item { grid-template-columns: 1fr; gap: 0.5rem; padding: 1.25rem 0; }
  .vant-num { display: none; }

  /* stat-strip 480px: coluna única, sem divisores */
  .stat-strip {
    grid-template-columns: 1fr;
    border-radius: 8px;
  }
  .stat-strip > *:nth-child(n+1) { display: flex; }
  .stat-div { display: none !important; }
  .stat-item { padding: 1rem; }
  .stat-item { padding: 1rem; }

  .como-header { margin-bottom: 2rem; }
  .como-step { padding: 1.5rem 1rem; }
  .step-n { font-size: 2.25rem; margin-bottom: 0.75rem; }

  .form-step-wrap { padding: 1.25rem; min-height: 200px; }
  .step-label { font-size: 1.125rem; margin-bottom: 1.25rem; }
  .step-input { font-size: 0.9375rem; padding: 0.8125rem 0.875rem; }
  .step-chips { gap: 0.375rem; }
  .step-chip { padding: 0.375rem 0.625rem; font-size: 0.75rem; }

  .form-nav { flex-wrap: wrap; gap: 0.625rem; }
  .form-btn-back { flex: 1; justify-content: center; min-width: 0; }
  .form-btn-next { flex: 1; justify-content: center; min-width: 0; }

  .addr-row { flex-wrap: wrap; }
  .addr-row .addr-field--xs,
  .addr-row .addr-field--xxs { flex: 1 1 70px; }

  .modal-box { padding: 1.5rem 1.25rem; border-radius: 12px; }
  .modal-check { width: 48px; height: 48px; margin-bottom: 1rem; }
  .modal-box h3 { font-size: 1.0625rem; }
  .modal-text { font-size: 0.8125rem; }
  .modal-summary { padding: 0.875rem; font-size: 0.75rem; }

  .sidebar-title { font-size: 1.375rem; }

  .drawer { padding: 2rem 1rem; }
  .drawer-link { font-size: 1.25rem; }

  .footer-brand { flex-direction: column; gap: 0.75rem; }
  .footer-links { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
}

/* ── Small phone (iPhone SE / Mini) ────────────── */
@media (max-width: 375px) {
  .wrap { padding: 0 0.875rem; }
  .header-inner { padding: 0 0.875rem; }

  .hero { padding: 5rem 0 2rem; }
  .hero-h1 { font-size: 1.625rem; }
  .hero-lead { font-size: 0.8125rem; }
  .hero-tag { font-size: 0.5625rem; }

  .btn-red { padding: 0.75rem 1.25rem; font-size: 0.8125rem; }
  .btn-line { padding: 0.75rem 1.125rem; font-size: 0.8125rem; }

  .vant-body h3 { font-size: 0.9375rem; }
  .vant-body p { font-size: 0.75rem; }

  .stat-big { font-size: 1.25rem; }
  .stat-desc { font-size: 0.75rem; }

  .como-step { padding: 1.25rem 0.875rem; }
  .step-info h3 { font-size: 0.9375rem; }
  .step-info p { font-size: 0.8125rem; }

  .form-step-wrap { padding: 1rem; }
  .step-label { font-size: 1rem; }
  .step-input { font-size: 0.875rem; padding: 0.75rem 0.8125rem; }

  .modal-box { padding: 1.25rem 1rem; margin: 0.5rem; }
  .modal-summary { line-height: 1.7; }

  .footer-disclaimer p { font-size: 0.625rem; }
}

/* ── Extra small phone (320px, Galaxy Fold) ──── */
@media (max-width: 320px) {
  .wrap { padding: 0 0.75rem; }
  .header-inner { padding: 0 0.75rem; }
  .logo-img { height: 16px; }
  .logo-select-tag { font-size: 0.5rem; }

  .hero-h1 { font-size: 1.5rem; letter-spacing: -0.04em; }
  .hero-lead { font-size: 0.75rem; }

  .btn-red, .btn-line { width: 100%; justify-content: center; font-size: 0.75rem; padding: 0.6875rem 1rem; }

  .step-label { font-size: 0.9375rem; }
  .step-input { font-size: 0.8125rem; }
  .step-chip { font-size: 0.6875rem; padding: 0.3125rem 0.5rem; }

  .form-btn-back, .form-btn-next { font-size: 0.75rem; padding: 0.625rem 0.875rem; }

  .modal-box { margin: 0.25rem; }
}

/* ══════════════════════════════
   NAV — Status Button
   ══════════════════════════════ */
.nav-item--status {
  color: var(--tx-3);
  border: 1px solid var(--line);
  padding: 0.4375rem 0.875rem;
  border-radius: 5px;
  font-size: 0.8125rem;
  font-weight: 500;
  transition:
    color 180ms var(--expo),
    border-color 180ms var(--expo),
    background 180ms var(--expo);
}
.nav-item--status:hover {
  color: var(--tx);
  border-color: var(--line-m);
  background: rgba(255,255,255,0.04);
}

.drawer-link--btn {
  background: none;
  text-align: left;
  width: 100%;
  font-family: var(--font);
  cursor: pointer;
  color: var(--tx-3);
}
.drawer-link--btn:hover { color: var(--tx); }

/* ══════════════════════════════
   STATUS CHECK MODAL
   ══════════════════════════════ */
.status-modal-box {
  max-width: 420px;
  text-align: left;
}

/* Header */
.status-modal-tag {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tx-3);
  margin-bottom: 0.75rem;
}
.status-modal-title {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: 0.5rem;
}
.status-modal-desc {
  font-size: 0.875rem;
  color: var(--tx-2);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

/* Input area */
.status-input-wrap { margin-bottom: 1.5rem; }
.status-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--tx-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.status-cpf-input { font-size: 1.125rem; }

/* Action row */
.status-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.status-btn-check { flex: 1; justify-content: center; border-radius: 7px; }
.status-btn-cancel {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--tx-3);
  padding: 0.875rem 1rem;
  border-radius: 7px;
  border: 1px solid var(--line);
  transition: color 180ms var(--expo), border-color 180ms var(--expo);
  cursor: pointer;
  font-family: var(--font);
}
.status-btn-cancel:hover { color: var(--tx-2); border-color: var(--line-m); }

/* Result view */
.status-result-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.status-result-icon svg { flex-shrink: 0; }

/* States */
.status-result-icon--pending  { background: rgba(234,179,8,0.1);  border: 1px solid rgba(234,179,8,0.25); }
.status-result-icon--approved { background: rgba(34,197,94,0.09); border: 1px solid rgba(34,197,94,0.25); }
.status-result-icon--rejected { background: rgba(236,0,0,0.08);   border: 1px solid rgba(236,0,0,0.2); }
.status-result-icon--notfound { background: rgba(255,255,255,0.04); border: 1px solid var(--line-m); }

.status-result-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  margin-bottom: 0.625rem;
}
.status-result-desc {
  font-size: 0.875rem;
  color: var(--tx-2);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

/* Meta box (retry countdown etc) */
.status-result-meta {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem 1.125rem;
  font-size: 0.8125rem;
  color: var(--tx-2);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.status-result-meta:empty { display: none; }
.status-result-meta strong { color: var(--tx); }
.status-meta-date {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: -0.03em;
  display: block;
  margin-top: 0.25rem;
}

.status-result-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.status-result-actions .btn-red { flex: 1; justify-content: center; border-radius: 7px; }

/* ══════════════════════════════════════════════════
   PRÉ-QUALIFICAÇÃO MODAL — Editorial Luxury
   Double-Bezel Architecture
   ══════════════════════════════════════════════════ */

/* Overlay */
.preq-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* sem scroll externo — modal sempre centralizado */
  padding: 1rem;
  padding-bottom: max(1rem, env(safe-area-inset-bottom));
  transition: opacity 0.5s cubic-bezier(0.32,0.72,0,1);
}
.preq-modal.preq-hidden {
  opacity: 0;
  pointer-events: none;
}

/* Backdrop blur */
.preq-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5,5,5,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Outer shell — Double-Bezel */
.preq-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 500px;
  /* Não ultrapassa a viewport — scroll interno no core */
  max-height: calc(100dvh - 2rem);
  display: flex;
  flex-direction: column;
  /* Hairline gradient border — not flat gray */
  background: linear-gradient(
    145deg,
    rgba(255,255,255,0.1) 0%,
    rgba(255,255,255,0.03) 60%,
    rgba(236,0,0,0.08) 100%
  );
  border-radius: 28px;
  padding: 1.5px;
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.5),
    0 40px 100px rgba(0,0,0,0.75),
    0 0 160px rgba(236,0,0,0.07);
  transform: translateY(0) scale(1);
  transition: transform 0.7s cubic-bezier(0.32,0.72,0,1), opacity 0.7s cubic-bezier(0.32,0.72,0,1);
}
.preq-modal.preq-hidden .preq-shell {
  transform: translateY(32px) scale(0.96);
  opacity: 0;
}

/* Inner core — Double-Bezel + scroll interno */
.preq-core {
  background: #0d0d0d;
  border-radius: calc(28px - 1.5px);
  padding: 2.25rem 2rem 2rem;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.07),
    inset 0 -1px 0 rgba(0,0,0,0.3);
  position: relative;
  /* Scroll interno quando conteúdo é maior que o shell */
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  /* Esconde a scrollbar mas mantemos funcional */
  scrollbar-width: none;
}
.preq-core::-webkit-scrollbar { display: none; }
/* Ambient red glow — top right corner */
.preq-core::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(236,0,0,0.1) 0%, transparent 65%);
  pointer-events: none;
}
/* Subtle noise texture feel */
.preq-core::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.4;
  border-radius: inherit;
}

/* Eyebrow */
.preq-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  margin-bottom: 1.5rem;
}
.preq-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  animation: preq-pulse 2.5s cubic-bezier(0.32,0.72,0,1) infinite;
  flex-shrink: 0;
}
@keyframes preq-pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(236,0,0,0.4); }
  50%       { opacity: 0.5; transform: scale(0.8); box-shadow: 0 0 0 4px rgba(236,0,0,0); }
}

/* Title — massive editorial contrast */
.preq-title {
  font-size: clamp(1.75rem, 5vw, 2.375rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 0.75rem;
  letter-spacing: -0.045em;
}
.preq-title em {
  font-style: italic;
  color: var(--red);
  font-weight: 800;
}

.preq-sub {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.35);
  margin: 0 0 1.75rem;
  line-height: 1.65;
  max-width: 340px;
}

/* Requirement cards — left-accent stripe architecture */
.preq-cards {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-bottom: 1.5rem;
}
.preq-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.125rem;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.05);
  border-left: 2px solid rgba(236,0,0,0.5);
  border-radius: 12px;
  transition:
    background 400ms cubic-bezier(0.32,0.72,0,1),
    border-color 400ms cubic-bezier(0.32,0.72,0,1),
    transform 300ms cubic-bezier(0.32,0.72,0,1);
}
.preq-card:hover {
  background: rgba(255,255,255,0.04);
  border-left-color: var(--red);
  transform: translateX(2px);
}
.preq-card-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 8px;
  background: rgba(236,0,0,0.07);
  border: 1px solid rgba(236,0,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(236,0,0,0.8);
  margin-top: 1px;
}
.preq-card-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  margin: 0 0 0.3rem;
  letter-spacing: -0.02em;
}
.preq-card-desc {
  font-size: 0.775rem;
  color: rgba(255,255,255,0.32);
  margin: 0;
  line-height: 1.6;
}

/* Divider */
.preq-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
  margin: 0 0 1.5rem;
}

/* Fee block — editorial price display */
.preq-fee-block {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 14px;
  padding: 1.25rem 1.125rem 1.125rem;
  margin-bottom: 1.375rem;
  position: relative;
  overflow: hidden;
}
/* Subtle shimmer line on top */
.preq-fee-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
}
.preq-fee-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.22);
  margin-bottom: 1.125rem;
}
.preq-fee-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}
.preq-fee-sep {
  width: 1px;
  height: 44px;
  background: rgba(255,255,255,0.07);
}
.preq-fee-label {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.3);
  margin: 0 0 0.3rem;
  letter-spacing: 0.01em;
  line-height: 1.4;
}
.preq-fee-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
  letter-spacing: -0.05em;
  line-height: 1;
}
.preq-fee-value span {
  font-size: 0.875rem;
  font-weight: 500;
  opacity: 0.5;
  letter-spacing: 0;
}
.preq-fee-value--green {
  color: #4ade80;
}
.preq-fee-note {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.22);
  margin: 0.375rem 0 0;
  line-height: 1.45;
}

/* Checkbox — spring physics on check */
.preq-checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  cursor: pointer;
  margin-bottom: 1.25rem;
  padding: 0.875rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.05);
  transition:
    border-color 400ms cubic-bezier(0.32,0.72,0,1),
    background 400ms cubic-bezier(0.32,0.72,0,1);
}
.preq-checkbox-wrap:has(#preqCheck:checked) {
  border-color: rgba(236,0,0,0.25);
  background: rgba(236,0,0,0.03);
}
.preq-hidden-check {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.preq-custom-check {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 7px;
  border: 1.5px solid rgba(255,255,255,0.15);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  transition:
    border-color 300ms cubic-bezier(0.32,0.72,0,1),
    background 300ms cubic-bezier(0.32,0.72,0,1),
    transform 200ms cubic-bezier(0.32,0.72,0,1);
  color: transparent;
}

/* ── Responsivo — Mobile ─────────────────────────── */

/* 540px: tablets pequenos e telas médias */
@media (max-width: 540px) {
  .preq-modal {
    align-items: flex-start; /* Scroll de cima p/ baixo, não centralizado */
    padding: 1rem 0.875rem;
  }

  .preq-shell {
    border-radius: 20px;
    width: 100%;
  }

  .preq-core {
    border-radius: calc(20px - 1.5px);
    padding: 1.75rem 1.25rem 1.5rem;
  }

  .preq-title {
    font-size: clamp(1.5rem, 7.5vw, 1.875rem);
    letter-spacing: -0.035em;
  }

  .preq-sub { margin-bottom: 1.25rem; max-width: 100%; }

  .preq-cards { gap: 0.5rem; margin-bottom: 1.25rem; }

  .preq-card { padding: 0.875rem 1rem; gap: 0.75rem; }

  .preq-fee-block { padding: 1rem; margin-bottom: 1.125rem; }
  .preq-fee-row { grid-template-columns: 1fr; gap: 0.625rem; }
  .preq-fee-sep { display: none; }
  .preq-fee-value { font-size: 1.5rem; }

  .preq-checkbox-wrap { padding: 0.75rem 0.875rem; margin-bottom: 1rem; }

  .preq-cta { padding: 0.9375rem 0.875rem 0.9375rem 1.25rem; font-size: 0.875rem; }
}

/* 430px: iPhones e telas muito estreitas */
@media (max-width: 430px) {
  .preq-modal { padding: 0.75rem; }

  .preq-core { padding: 1.5rem 1rem 1.375rem; }

  .preq-title { font-size: clamp(1.375rem, 8vw, 1.625rem); }

  .preq-eyebrow { margin-bottom: 1rem; }

  .preq-sub { font-size: 0.775rem; margin-bottom: 1rem; }

  .preq-card-title { font-size: 0.8125rem; }
  .preq-card-desc  { font-size: 0.725rem; }

  .preq-fee-value { font-size: 1.375rem; }
  .preq-fee-label { font-size: 0.65rem; }
}

/* Landscape no mobile — altura muito reduzida */
@media (max-height: 680px) and (max-width: 900px) {
  .preq-modal { align-items: flex-start; padding-top: 0.75rem; }
  .preq-core  { padding: 1.25rem 1.25rem 1.25rem; }
  .preq-title { font-size: 1.375rem; }
  .preq-cards { gap: 0.375rem; margin-bottom: 0.875rem; }
  .preq-card  { padding: 0.75rem; }
  .preq-divider { margin-bottom: 0.875rem; }
  .preq-fee-block { padding: 0.875rem; margin-bottom: 0.875rem; }
  .preq-checkbox-wrap { margin-bottom: 0.75rem; padding: 0.625rem 0.875rem; }
}

#preqCheck:checked ~ .preq-custom-check,
.preq-checkbox-wrap:has(#preqCheck:checked) .preq-custom-check {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  /* Spring pop effect */
  animation: checkPop 350ms cubic-bezier(0.32,0.72,0,1) both;
}
@keyframes checkPop {
  0%   { transform: scale(0.8); }
  55%  { transform: scale(1.18); }
  100% { transform: scale(1); }
}
.preq-check-text {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.38);
  line-height: 1.6;
  transition: color 300ms;
  padding-top: 1px;
}
.preq-checkbox-wrap:has(#preqCheck:checked) .preq-check-text {
  color: rgba(255,255,255,0.65);
}

/* CTA Button — pill + Button-in-Button trailing icon */
.preq-cta {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1rem 1rem 1.5rem;
  border-radius: 999px;
  border: none;
  /* Estado DISABLED — sem opacity no elemento (evita fundo preto aparecer) */
  background: rgba(180, 0, 0, 0.45);
  color: rgba(255, 255, 255, 0.4);
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: not-allowed;
  letter-spacing: -0.02em;
  transition:
    background 400ms cubic-bezier(0.32,0.72,0,1),
    color 300ms cubic-bezier(0.32,0.72,0,1),
    transform 300ms cubic-bezier(0.32,0.72,0,1),
    box-shadow 400ms cubic-bezier(0.32,0.72,0,1);
}
.preq-cta:not(:disabled) {
  cursor: pointer;
  background: var(--red);
  color: #fff;
  box-shadow: 0 6px 32px rgba(236,0,0,0.4);
}
.preq-cta:not(:disabled):hover {
  background: #c80000;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(236,0,0,0.5);
}
.preq-cta:not(:disabled):active {
  transform: scale(0.98);
  box-shadow: 0 4px 16px rgba(236,0,0,0.3);
}
.preq-cta-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.32,0.72,0,1);
}
.preq-cta:not(:disabled):hover .preq-cta-icon {
  transform: translateX(3px);
}



/* ══════════════════════════════════════════════════
   PIX PAYMENT MODAL — Vanguard Tier / Ethereal Glass
   Double-Bezel Architecture + Fluid Motion Physics
   ══════════════════════════════════════════════════ */

/* ── Overlay ───────────────────────────────────────── */
.pix-modal {
  position: fixed;
  inset: 0;
  z-index: 8500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.32,0.72,0,1);
}
.pix-modal.pix-open {
  opacity: 1;
  pointer-events: auto;
}

/* ── Cinematic backdrop ────────────────────────────── */
.pix-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4,4,4,0.94);
  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
}
/* Subtle ambient red glow — brand */
.pix-modal-backdrop::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 20% 80%, rgba(236,0,0,0.04) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 80% 10%, rgba(34,197,94,0.03) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Outer shell — Double-Bezel Layer 1 ────────────── */
.pix-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 464px;
  background: linear-gradient(145deg, rgba(255,255,255,0.055) 0%, rgba(255,255,255,0.015) 100%);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 2rem;
  padding: 3px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 0 0 1px rgba(0,0,0,0.6),
    0 48px 120px rgba(0,0,0,0.85),
    0 0 100px rgba(236,0,0,0.05),
    0 0 200px rgba(0,0,0,0.4);
  transform: translateY(28px) scale(0.955);
  opacity: 0;
  transition:
    transform 0.6s cubic-bezier(0.32,0.72,0,1),
    opacity 0.5s cubic-bezier(0.32,0.72,0,1);
}
.pix-modal.pix-open .pix-shell {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* ── Inner core — Double-Bezel Layer 2 ────────────── */
.pix-core {
  background: #0a0a0a;
  border-radius: calc(2rem - 3px);
  border: 1px solid rgba(255,255,255,0.055);
  padding: 1.75rem 1.875rem 2rem;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    inset 0 -1px 0 rgba(0,0,0,0.4);
  max-height: 90dvh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.08) transparent;
}

/* ── Header ─────────────────────────────────────────── */
.pix-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.375rem;
}
.pix-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.75rem 0.3rem 0.5rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.pix-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34,197,94,0.8), 0 0 16px rgba(34,197,94,0.3);
  animation: pix-live-pulse 2.4s cubic-bezier(0.4,0,0.6,1) infinite;
}
@keyframes pix-live-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(34,197,94,0.8), 0 0 16px rgba(34,197,94,0.3); }
  50%       { opacity: 0.4; box-shadow: 0 0 4px rgba(34,197,94,0.4), 0 0 8px rgba(34,197,94,0.1); }
}

/* Close button */
.pix-close-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 0.25s cubic-bezier(0.32,0.72,0,1),
    color 0.25s cubic-bezier(0.32,0.72,0,1),
    border-color 0.25s cubic-bezier(0.32,0.72,0,1),
    transform 0.2s cubic-bezier(0.32,0.72,0,1);
  flex-shrink: 0;
}
.pix-close-btn:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.14);
  color: #fff;
  transform: rotate(90deg) scale(1.05);
}

/* ── Title block ─────────────────────────────────────── */
.pix-title {
  font-size: clamp(1.5rem, 5vw, 1.875rem);
  font-weight: 800;
  letter-spacing: -0.042em;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 0.5rem;
}
.pix-title em {
  color: #22c55e;
  font-style: normal;
  position: relative;
}
.pix-sub {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.32);
  margin: 0 0 1.5rem;
  line-height: 1.65;
  max-width: 34ch;
}

/* ── Value badge — machined glass ──────────────────── */
.pix-value-badge {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3px;
  border-radius: 1.25rem;
  background: linear-gradient(145deg, rgba(34,197,94,0.14), rgba(34,197,94,0.04));
  border: 1px solid rgba(34,197,94,0.18);
  margin-bottom: 1.375rem;
  box-shadow:
    inset 0 1px 0 rgba(34,197,94,0.12),
    0 0 40px rgba(34,197,94,0.06);
}
.pix-value-badge::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34,197,94,0.5), transparent);
}
.pix-value-badge-inner {
  width: 100%;
  background: rgba(34,197,94,0.04);
  border-radius: calc(1.25rem - 3px);
  padding: 1rem 1.25rem;
  text-align: center;
}
.pix-value-label {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(34,197,94,0.55);
  margin-bottom: 0.4rem;
}
.pix-value-amount {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.06em;
  color: #fff;
  line-height: 1;
}
.pix-value-amount strong { color: #22c55e; }
.pix-value-amount em { font-size: 1.2rem; font-style: normal; color: rgba(255,255,255,0.45); }
.pix-value-note {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.2);
  margin-top: 0.5rem;
  line-height: 1.5;
}

/* ── Form fields ─────────────────────────────────────── */
.pix-fields {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-bottom: 1.25rem;
}
.pix-field-group { display: flex; flex-direction: column; gap: 0.5rem; }
.pix-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
}

/* Input — Double-Bezel field */
.pix-input-shell {
  padding: 2px;
  border-radius: 0.875rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  transition:
    border-color 0.3s cubic-bezier(0.32,0.72,0,1),
    background 0.3s cubic-bezier(0.32,0.72,0,1),
    box-shadow 0.3s cubic-bezier(0.32,0.72,0,1);
}
.pix-input-shell:focus-within {
  border-color: rgba(34,197,94,0.4);
  background: rgba(34,197,94,0.03);
  box-shadow: 0 0 0 3px rgba(34,197,94,0.07), inset 0 1px 0 rgba(34,197,94,0.08);
}
.pix-input-shell.input-error {
  border-color: rgba(236,0,0,0.45);
  box-shadow: 0 0 0 3px rgba(236,0,0,0.06);
}
.pix-input {
  width: 100%;
  background: transparent;
  border: none;
  padding: 0.8rem 1rem;
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  outline: none;
  border-radius: calc(0.875rem - 2px);
  -webkit-user-select: text;
  user-select: text;
}
.pix-input::placeholder { color: rgba(255,255,255,0.2); font-weight: 400; }
.pix-input.input-error { color: #fca5a5; }
.pix-field-error {
  font-size: 0.68rem;
  color: rgba(236,80,80,0.9);
  margin: 0;
  padding-left: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.pix-field-error::before {
  content: '!';
  width: 14px; height: 14px;
  border-radius: 50%;
  background: rgba(236,0,0,0.15);
  border: 1px solid rgba(236,0,0,0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 900;
  color: #ef4444;
  flex-shrink: 0;
}

/* ── CTA Button — Button-in-Button architecture ──────── */
.pix-cta {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 0.875rem 0.875rem 1.375rem;
  border-radius: 999px;
  border: none;
  background: #22c55e;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: -0.015em;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.2),
    0 4px 24px rgba(34,197,94,0.3),
    0 1px 4px rgba(0,0,0,0.3);
  transition:
    background 0.3s cubic-bezier(0.32,0.72,0,1),
    box-shadow 0.3s cubic-bezier(0.32,0.72,0,1),
    transform 0.2s cubic-bezier(0.32,0.72,0,1);
}
.pix-cta:hover {
  background: linear-gradient(135deg, #16db68 0%, #15803d 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.25),
    0 8px 32px rgba(34,197,94,0.4),
    0 2px 8px rgba(0,0,0,0.3);
  transform: translateY(-1px);
}
.pix-cta:active { transform: scale(0.985) translateY(0); }

/* Trailing icon — Button-in-Button */
.pix-cta-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(0,0,0,0.18);
  border: 1px solid rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.32,0.72,0,1), background 0.3s;
}
.pix-cta:hover .pix-cta-icon {
  transform: translateX(3px) translateY(-1px);
  background: rgba(0,0,0,0.25);
}

/* Confirm CTA variant */
.pix-cta--confirm {
  background: transparent;
  background: linear-gradient(135deg, rgba(34,197,94,0.14), rgba(34,197,94,0.06));
  border: 1px solid rgba(34,197,94,0.28);
  color: #22c55e;
  gap: 0.625rem;
  justify-content: center;
  margin-top: 0.875rem;
  box-shadow:
    inset 0 1px 0 rgba(34,197,94,0.1),
    0 0 24px rgba(34,197,94,0.08);
  padding: 0.875rem 1.375rem;
}
.pix-cta--confirm:hover {
  background: linear-gradient(135deg, rgba(34,197,94,0.2), rgba(34,197,94,0.1));
  box-shadow:
    inset 0 1px 0 rgba(34,197,94,0.15),
    0 0 40px rgba(34,197,94,0.15);
  transform: translateY(-1px);
}

/* ── Loader ──────────────────────────────────────────── */
.pix-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.35);
  margin-bottom: 0.875rem;
  border-radius: 0.875rem;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  letter-spacing: 0.01em;
}
.pix-spinner {
  width: 18px; height: 18px;
  border: 1.5px solid rgba(34,197,94,0.15);
  border-top-color: #22c55e;
  border-radius: 50%;
  animation: pix-spin 0.65s cubic-bezier(0.6,0,0.4,1) infinite;
  flex-shrink: 0;
}
@keyframes pix-spin { to { transform: rotate(360deg); } }

/* ── API Error ───────────────────────────────────────── */
.pix-api-error {
  padding: 3px;
  border-radius: 1rem;
  background: rgba(239,68,68,0.06);
  border: 1px solid rgba(239,68,68,0.2);
  margin-bottom: 0.875rem;
  box-shadow: inset 0 1px 0 rgba(239,68,68,0.08);
}
.pix-api-error-msg {
  background: rgba(239,68,68,0.04);
  border-radius: calc(1rem - 3px);
  padding: 0.75rem 1rem;
  font-size: 0.75rem;
  color: rgba(252,165,165,0.9);
  margin: 0;
  line-height: 1.6;
}

/* ── QR Code frame — Double-Bezel ────────────────────── */
.pix-qr-shell {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
  padding: 3px;
  background: linear-gradient(145deg, rgba(255,255,255,0.055), rgba(255,255,255,0.015));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1.5rem;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 24px 60px rgba(0,0,0,0.5);
}
.pix-qr-core {
  background: #fff;
  border-radius: calc(1.5rem - 3px);
  padding: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.pix-qr-canvas { display: block; border-radius: 0.375rem; }

/* ── Amount row ──────────────────────────────────────── */
.pix-amount-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: rgba(34,197,94,0.05);
  border: 1px solid rgba(34,197,94,0.1);
  border-radius: 0.875rem;
  margin-bottom: 1rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}
.pix-amount-display strong { color: #22c55e; font-weight: 800; font-size: 1rem; }

/* ── Copia e cola block ──────────────────────────────── */
.pix-copy-block { margin-bottom: 1rem; }
.pix-copy-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  margin-bottom: 0.5rem;
  padding-left: 0.125rem;
}
.pix-copy-row {
  display: flex;
  gap: 0;
  align-items: stretch;
  padding: 2px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 0.875rem;
}
.pix-copy-code {
  flex: 1;
  font-family: 'SF Mono', 'Fira Code', 'Courier New', monospace;
  font-size: 0.58rem;
  color: rgba(255,255,255,0.35);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0.7rem 0.875rem;
  -webkit-user-select: text;
  user-select: text;
  letter-spacing: 0.02em;
}
.pix-copy-btn {
  flex-shrink: 0;
  padding: 0.55rem 1rem;
  border-radius: calc(0.875rem - 2px);
  border: none;
  background: rgba(34,197,94,0.1);
  color: #22c55e;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.25s cubic-bezier(0.32,0.72,0,1),
    color 0.25s cubic-bezier(0.32,0.72,0,1),
    transform 0.2s cubic-bezier(0.32,0.72,0,1);
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.pix-copy-btn:hover {
  background: rgba(34,197,94,0.18);
  transform: scale(1.02);
}
.pix-copy-btn--copied {
  background: #22c55e !important;
  color: #fff !important;
  box-shadow: 0 0 16px rgba(34,197,94,0.35);
}

/* ── Instructions ────────────────────────────────────── */
.pix-instructions {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-bottom: 0;
}
.pix-instruction-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.74rem;
  color: rgba(255,255,255,0.32);
  line-height: 1.55;
}
.pix-instruction-num {
  width: 22px; height: 22px;
  min-width: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 800;
  color: rgba(255,255,255,0.4);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  flex-shrink: 0;
  margin-top: 1px;
}
.pix-instruction-item strong { color: rgba(255,255,255,0.65); font-weight: 600; }

/* ── Footer note ─────────────────────────────────────── */
.pix-confirm-note {
  text-align: center;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.18);
  margin: 0.625rem 0 0;
  letter-spacing: 0.01em;
  line-height: 1.5;
}

/* ── Payment status pill ─────────────────────────────── */
.pix-payment-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 0.875rem;
  letter-spacing: 0.01em;
  transition: all 0.5s cubic-bezier(0.32,0.72,0,1);
}
.pix-status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.pix-status--waiting {
  background: rgba(250,204,21,0.06);
  border: 1px solid rgba(250,204,21,0.14);
  color: rgba(250,204,21,0.8);
  box-shadow: inset 0 1px 0 rgba(250,204,21,0.06);
}
.pix-status--waiting .pix-status-dot {
  background: #facc15;
  box-shadow: 0 0 6px rgba(250,204,21,0.6);
  animation: pix-live-pulse 1.6s cubic-bezier(0.4,0,0.6,1) infinite;
}
.pix-status--paid {
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.2);
  color: #22c55e;
  box-shadow:
    inset 0 1px 0 rgba(34,197,94,0.1),
    0 0 24px rgba(34,197,94,0.1);
}
.pix-status--paid .pix-status-dot {
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34,197,94,0.9), 0 0 20px rgba(34,197,94,0.4);
}
.pix-status--expired {
  background: rgba(239,68,68,0.05);
  border: 1px solid rgba(239,68,68,0.14);
  color: rgba(239,68,68,0.7);
}
.pix-status--expired .pix-status-dot { background: #ef4444; }

/* ── Divider ─────────────────────────────────────────── */
.pix-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06) 30%, rgba(255,255,255,0.06) 70%, transparent);
  margin: 1.25rem 0;
}

/* ── Mobile ──────────────────────────────────────────── */
@media (max-width: 480px) {
  .pix-core { padding: 1.375rem 1.25rem 1.625rem; }
  .pix-title { font-size: 1.45rem; }
  .pix-value-amount { font-size: 2.1rem; }
}

/* ══════════════════════════════════════════════════════
   MOBILE HARDENING — Global overrides
   Garante que TODOS os modais, formulários e seções
   sejam perfeitamente responsivos em qualquer dispositivo.
   ══════════════════════════════════════════════════════ */

/* ── Tablet (≤ 768px) ─────────────────────────────── */
@media (max-width: 768px) {
  /* Drawer ajuste */
  .drawer { inset: 56px 0 0 0; }

  /* Pre-req modal */
  .preq-shell { max-width: 100%; border-radius: 1.25rem; }
  .preq-core { padding: 1.5rem 1.25rem; }
  .preq-title { font-size: 1.375rem; }
  .preq-card { padding: 0.75rem; }
  .preq-card-icon { width: 32px; height: 32px; }
  .preq-fee-block { padding: 0.875rem; }
  .preq-fee-row { grid-template-columns: 1fr; gap: 0.5rem; }
  .preq-fee-sep { display: none; }

  /* PIX modal */
  .pix-shell { max-width: 100%; border-radius: 1.25rem; }
  .pix-core { padding: 1.5rem 1.25rem; }
  .pix-header { margin-bottom: 1rem; }
  .pix-title { font-size: 1.375rem; }
  .pix-value-badge { border-radius: 0.75rem; }
  .pix-value-badge-inner { padding: 1rem; }
  .pix-value-amount { font-size: 2rem; }
  .pix-fields { gap: 0.75rem; }
  .pix-input { padding: 0.875rem 0.75rem; font-size: 0.9375rem; }
  .pix-label { font-size: 0.6875rem; }
  .pix-cta { padding: 0.875rem 1rem; font-size: 0.875rem; border-radius: 0.75rem; }
  .pix-cta-icon { width: 32px; height: 32px; }
  .pix-qr-wrapper { padding: 1rem; }
  .pix-qr-frame { width: 180px; height: 180px; padding: 0.5rem; }
  .pix-copy-row { flex-direction: column; gap: 0.5rem; }
  .pix-copy-code { font-size: 0.625rem; }
  .pix-copy-btn { width: 100%; justify-content: center; }

  /* Status modal */
  .status-modal-box { max-width: 100%; }
  .status-input { font-size: 0.9375rem; }

  /* Success modal */
  .modal-box { max-width: 100%; }
  .modal-summary { font-size: 0.75rem; }
  .modal-whatsapp-alert { padding: 0.75rem; }
  .modal-whatsapp-alert p { font-size: 0.75rem; }

  /* Ticker trunca com scroll */
  .hero-ticker { padding: 0.625rem 0; }
  .ticker-track span { font-size: 0.75rem; }

  /* Stat strip fix */
  .stat-strip { gap: 0; }
}

/* ── Phone standard (≤ 480px) ─────────────────────── */
@media (max-width: 480px) {
  /* All modals: full screen on phone */
  .preq-modal,
  .pix-modal,
  .modal { padding: 0.625rem; }

  .preq-shell,
  .pix-shell { border-radius: 1rem; padding: 2px; }

  .preq-core,
  .pix-core { border-radius: calc(1rem - 2px); padding: 1.25rem 1rem 1.375rem; }

  .preq-title { font-size: 1.25rem; }
  .preq-sub { font-size: 0.75rem; margin-bottom: 1rem; }
  .preq-card { gap: 0.625rem; padding: 0.625rem; border-radius: 0.625rem; }
  .preq-card-icon { width: 28px; height: 28px; border-radius: 0.5rem; }
  .preq-card-icon svg { width: 14px; height: 14px; }
  .preq-card-title { font-size: 0.75rem; }
  .preq-card-desc { font-size: 0.6875rem; }
  .preq-cta { padding: 0.875rem 0.875rem 0.875rem 1.25rem; font-size: 0.875rem; }
  .preq-cta-icon { width: 24px; height: 24px; }
  .preq-check-text { font-size: 0.6875rem; }
  .preq-checkbox-wrap { padding: 0.625rem; border-radius: 0.625rem; }

  /* PIX extras */
  .pix-title { font-size: 1.25rem; }
  .pix-subtitle { font-size: 0.6875rem; }
  .pix-value-amount { font-size: 1.75rem; }
  .pix-value-label { font-size: 0.5625rem; }
  .pix-value-note { font-size: 0.6875rem; }
  .pix-field-group { margin-bottom: 0.5rem; }
  .pix-field-error { font-size: 0.6875rem; }
  .pix-close { width: 32px; height: 32px; }
  .pix-close svg { width: 14px; height: 14px; }
  .pix-secure-badge { font-size: 0.5625rem; padding: 0.25rem 0.5rem; }
  .pix-footer-note { font-size: 0.5625rem; }
  .pix-qr-frame { width: 160px; height: 160px; }
  .pix-status { font-size: 0.6875rem; padding: 0.375rem 0.75rem; }

  /* Success modal */
  .modal-box { padding: 1.25rem; border-radius: 1rem; }
  .modal-check { width: 44px; height: 44px; margin-bottom: 0.875rem; }
  .modal-check svg { width: 22px; height: 22px; }
  .modal-box h3 { font-size: 1rem; }
  .modal-text { font-size: 0.75rem; line-height: 1.6; margin-bottom: 1rem; }
  .modal-summary { padding: 0.75rem; font-size: 0.6875rem; line-height: 1.8; }
  .modal-btn { padding: 0.75rem; font-size: 0.8125rem; border-radius: 0.5rem; }

  /* Fee amounts */
  .preq-fee-amount { font-size: 1.5rem; }
  .preq-fee-desc { font-size: 0.625rem; }
  .preq-fee-note { font-size: 0.625rem; }
}

/* ── Small phone (≤ 375px) ────────────────────────── */
@media (max-width: 375px) {
  .preq-modal,
  .pix-modal,
  .modal { padding: 0.375rem; }

  .preq-core,
  .pix-core { padding: 1rem 0.875rem 1.125rem; }

  .preq-title { font-size: 1.125rem; }
  .preq-card { padding: 0.5rem; gap: 0.5rem; }
  .preq-card-title { font-size: 0.6875rem; }
  .preq-card-desc { font-size: 0.625rem; }
  .preq-fee-amount { font-size: 1.25rem; }

  .pix-title { font-size: 1.125rem; }
  .pix-value-amount { font-size: 1.5rem; }
  .pix-input { padding: 0.75rem 0.625rem; font-size: 0.875rem; }
  .pix-cta { padding: 0.625rem 0.75rem; font-size: 0.75rem; }
  .pix-qr-frame { width: 140px; height: 140px; }

  .modal-box { padding: 1rem 0.875rem; margin: 0; }
  .modal-box h3 { font-size: 0.9375rem; }
  .modal-whatsapp-alert { padding: 0.625rem; gap: 0.5rem; }
}

/* ── Fold / extra small (≤ 320px) ─────────────────── */
@media (max-width: 320px) {
  .preq-core,
  .pix-core { padding: 0.875rem 0.75rem 1rem; }

  .preq-title,
  .pix-title { font-size: 1rem; }

  .preq-card-icon { width: 24px; height: 24px; }
  .preq-card-icon svg { width: 12px; height: 12px; }

  .pix-value-amount { font-size: 1.375rem; }
  .pix-qr-frame { width: 120px; height: 120px; }

  .pix-input { font-size: 0.8125rem; }

  .modal-box { padding: 0.875rem 0.75rem; }
  .modal-box h3 { font-size: 0.875rem; }
  .modal-summary { font-size: 0.625rem; padding: 0.625rem; }
}

/* ── Safe area insets (iPhone notch/bar) ──────────── */
@supports (padding: env(safe-area-inset-bottom)) {
  .preq-modal,
  .pix-modal,
  .modal {
    padding-bottom: calc(0.625rem + env(safe-area-inset-bottom));
  }
  .drawer {
    padding-bottom: calc(2rem + env(safe-area-inset-bottom));
  }
  .footer { padding-bottom: env(safe-area-inset-bottom); }
}

/* ── Touch targets — WCAG minimum 44px ────────────── */
@media (hover: none) and (pointer: coarse) {
  .nav-item,
  .drawer-link,
  .pix-close,
  .preq-cta,
  .pix-cta,
  .form-btn-back,
  .form-btn-next,
  .modal-btn,
  .btn-red,
  .btn-line { min-height: 44px; }

  .pix-input,
  .step-input,
  .addr-input,
  .status-input { min-height: 44px; font-size: max(16px, 1em); }
}

/* ══════════════════════════════════════════════════════
   ══════════════════════════════════════════════════════ */

#cpfBlockOverlay {
  position: fixed;          /* FULL SCREEN — não absoluto dentro do form */
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(4, 4, 4, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  /* Entry state */
  opacity: 0;
  pointer-events: none;
  transition: opacity 500ms cubic-bezier(0.32, 0.72, 0, 1);
}

#cpfBlockOverlay.cpf-block--visible {
  opacity: 1;
  pointer-events: auto;
}

/* ── Outer Shell (Double-Bezel layer 1) */
.cpf-block-shell {
  width: 100%;
  max-width: 420px;
  padding: 1.5px;
  border-radius: 26px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.13) 0%,
    rgba(255, 255, 255, 0.03) 55%,
    rgba(236, 0, 0, 0.1) 100%
  );
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.5),
    0 48px 120px rgba(0, 0, 0, 0.8),
    0 0 200px rgba(236, 0, 0, 0.08);
  /* Entry animation — Z-Axis emerge */
  transform: translateY(32px) scale(0.96);
  transition: transform 650ms cubic-bezier(0.32, 0.72, 0, 1);
}

#cpfBlockOverlay.cpf-block--visible .cpf-block-shell {
  transform: translateY(0) scale(1);
}

/* ── Inner Core (Double-Bezel layer 2) */
.cpf-block-core {
  background: #0d0d0d;
  border-radius: calc(26px - 1.5px);
  padding: 2.5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

/* Subtle red glow ambient top-right */
.cpf-block-core::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(236, 0, 0, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Eyebrow Badge — pill com dot + cor dinâmica via inline style */
.cpf-block-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 8px;
  border-radius: 999px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid;
  margin-bottom: 1.375rem;
}

.cpf-badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── Status Icon — box SVG */
.cpf-block-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  border: 1px solid;
  margin-bottom: 1.375rem;
  animation: cpfIconPulse 3s cubic-bezier(0.32, 0.72, 0, 1) infinite;
}

@keyframes cpfIconPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.7; }
}

/* ── Stagger entry — 6 elementos com delay crescente */
.cpf-stagger-1,
.cpf-stagger-2,
.cpf-stagger-3,
.cpf-stagger-4,
.cpf-stagger-5,
.cpf-stagger-6 {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 500ms cubic-bezier(0.32,0.72,0,1),
              transform 500ms cubic-bezier(0.32,0.72,0,1);
}

#cpfBlockOverlay.cpf-block--visible .cpf-stagger-1 { opacity: 1; transform: none; transition-delay: 80ms;  }
#cpfBlockOverlay.cpf-block--visible .cpf-stagger-2 { opacity: 1; transform: none; transition-delay: 140ms; }
#cpfBlockOverlay.cpf-block--visible .cpf-stagger-3 { opacity: 1; transform: none; transition-delay: 200ms; }
#cpfBlockOverlay.cpf-block--visible .cpf-stagger-4 { opacity: 1; transform: none; transition-delay: 255ms; }
#cpfBlockOverlay.cpf-block--visible .cpf-stagger-5 { opacity: 1; transform: none; transition-delay: 310ms; }
#cpfBlockOverlay.cpf-block--visible .cpf-stagger-6 { opacity: 1; transform: none; transition-delay: 370ms; }

/* ── Title */
.cpf-block-title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: 0.6rem;
  line-height: 1.15;
}

/* ── Description */
.cpf-block-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.42);
  margin-bottom: 1.5rem;
}

.cpf-block-desc strong {
  color: rgba(255,255,255,0.82);
  font-weight: 600;
}

/* ── Extra block container */
.cpf-block-extra {
  width: 100%;
  margin-bottom: 1.75rem;
}

/* ── STATUS ROW — in_analysis pulsing indicator */
.cpf-block-status-row {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
}

.cpf-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.cpf-status-dot--pulse {
  animation: cpfStatusPulse 1.8s cubic-bezier(0.32,0.72,0,1) infinite;
}

@keyframes cpfStatusPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.75); }
}

.cpf-status-label {
  font-size: 0.775rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.01em;
}

/* ── COUNTDOWN — rejected_cooldown */
.cpf-block-countdown {
  padding: 1rem;
  border-radius: 12px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.05);
}

.cpf-countdown-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.cpf-countdown-key {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.cpf-countdown-days {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.cpf-countdown-track {
  height: 3px;
  background: rgba(255,255,255,0.07);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.cpf-countdown-bar {
  height: 100%;
  border-radius: 99px;
  transition: width 1s cubic-bezier(0.32,0.72,0,1);
}

.cpf-countdown-date {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.25);
}

/* ── APPROVED TAG — already_approved */
.cpf-block-approved-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ── CTA Button */
.cpf-block-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9375rem 1rem 0.9375rem 1.5rem;
  border-radius: 999px;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  border: none;
  cursor: pointer;
  transition:
    filter 300ms cubic-bezier(0.32, 0.72, 0, 1),
    transform 300ms cubic-bezier(0.32, 0.72, 0, 1),
    box-shadow 400ms cubic-bezier(0.32, 0.72, 0, 1);
}

.cpf-block-btn:hover {
  filter: brightness(0.85);
  transform: translateY(-2px);
}

.cpf-block-btn:active {
  transform: scale(0.98);
  filter: brightness(0.75);
}

/* Trailing icon circle — Button-in-Button */
.cpf-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  transition: transform 300ms cubic-bezier(0.32, 0.72, 0, 1), background 300ms;
  flex-shrink: 0;
}

.cpf-block-btn:hover .cpf-btn-icon {
  transform: translate(2px, -2px);
  background: rgba(255, 255, 255, 0.26);
}

/* ── Mobile — bottom-sheet */
@media (max-width: 540px) {
  #cpfBlockOverlay {
    align-items: flex-end;
    padding: 0;
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
  }

  .cpf-block-shell {
    max-width: 100%;
    border-radius: 24px 24px 0 0;
    padding-top: 2px;
    transform: translateY(100%);
  }

  #cpfBlockOverlay.cpf-block--visible .cpf-block-shell {
    transform: translateY(0);
  }

  .cpf-block-core {
    border-radius: 23px 23px 0 0;
    padding: 2rem 1.5rem 2rem;
  }

  .cpf-block-btn { width: 100%; justify-content: space-between; }
}

