/* =====================================================================
   FLIP VIRAL — Design system
   Tokens, componentes e microinterações. Complementa o Tailwind.
   ===================================================================== */

:root {
  /* Cor ---------------------------------------------------------- */
  --ink:        #1A1428;   /* texto e superfícies escuras */
  --ink-soft:   #2E2544;
  --paper:      #F4F3F8;   /* fundo da aplicação */
  --surface:    #FFFFFF;
  --flip:       #E0206B;   /* ação principal */
  --flip-dark:  #B7154F;
  --flip-wash:  #FDEAF2;
  --viral:      #FFC043;   /* energia, destaques, métricas */
  --viral-wash: #FFF5E0;
  --mint:       #10B981;
  --mint-wash:  #E6F7F0;
  --blue:       #3B6FF6;
  --blue-wash:  #EBF1FE;
  --rose:       #E11D48;
  --rose-wash:  #FDECEF;
  --amber:      #D97706;
  --amber-wash: #FEF3E2;
  --slate:      #64748B;
  --slate-wash: #F1F2F6;
  --muted:      #6B6683;
  --line:       #E7E4F0;

  /* Forma e profundidade ---------------------------------------- */
  --r-sm: 8px;
  --r:    14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --sh-1: 0 1px 2px rgba(26,20,40,.06), 0 1px 3px rgba(26,20,40,.04);
  --sh-2: 0 4px 16px rgba(26,20,40,.07);
  --sh-3: 0 12px 32px rgba(26,20,40,.10);
  --sh-flip: 0 8px 24px rgba(224,32,107,.28);

  /* Tipografia --------------------------------------------------- */
  --f-body:  'Roboto', system-ui, -apple-system, sans-serif;
  --f-micro: 'Roboto Condensed', 'Roboto', sans-serif;

  --shell: 60px;   /* altura do topo */
  --nav:   248px;  /* largura da barra lateral */
}

/* Base ---------------------------------------------------------------- */

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--f-body);
  background: var(--paper);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin: 0; letter-spacing: -.02em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); font-weight: 900; letter-spacing: -.035em; line-height: 1.04; }
h2 { font-size: clamp(1.45rem, 2.6vw, 2.1rem); font-weight: 800; letter-spacing: -.028em; line-height: 1.15; }
h3 { font-size: 1.0625rem; font-weight: 700; }
a  { color: inherit; text-decoration: none; }
p  { margin: 0; }

::selection { background: var(--flip); color: #fff; }

/* Micro-tipografia: a família condensada carrega os rótulos e as métricas */
.fv-micro {
  font-family: var(--f-micro);
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
}
.fv-num {
  font-family: var(--f-micro);
  font-weight: 700;
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
}

/* Assinatura: o corte diagonal do logótipo, reutilizado como marcador -- */
.fv-mark {
  display: inline-block;
  width: 1.75em; height: 1.75em;
  border-radius: 30% 30% 30% 6px;
  background: linear-gradient(125deg, var(--flip) 0 49.5%, var(--ink) 50.5% 100%);
  flex: none;
}
.fv-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--f-micro); text-transform: uppercase;
  letter-spacing: .16em; font-size: 11.5px; font-weight: 700; color: var(--flip);
}
.fv-eyebrow::before {
  content: ''; width: 13px; height: 13px; border-radius: 30% 30% 30% 3px;
  background: linear-gradient(125deg, var(--flip) 0 49.5%, var(--ink) 50.5% 100%);
}

/* Botões --------------------------------------------------------------- */

.fv-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 14px; line-height: 1; cursor: pointer;
  background: transparent; color: var(--ink); white-space: nowrap;
  transition: transform .14s ease, background-color .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.fv-btn:active { transform: translateY(1px) scale(.99); }
.fv-btn:focus-visible { outline: 2px solid var(--flip); outline-offset: 2px; }
.fv-btn[disabled], .fv-btn.is-loading { opacity: .6; pointer-events: none; }

.fv-btn--primario { background: var(--flip); color: #fff; box-shadow: var(--sh-flip); }
.fv-btn--primario:hover { background: var(--flip-dark); }

.fv-btn--escuro { background: var(--ink); color: #fff; }
.fv-btn--escuro:hover { background: var(--ink-soft); }

.fv-btn--contorno { border-color: var(--line); background: var(--surface); }
.fv-btn--contorno:hover { border-color: var(--ink); }

.fv-btn--suave { background: var(--flip-wash); color: var(--flip-dark); }
.fv-btn--suave:hover { background: #FBDCE8; }

.fv-btn--fantasma:hover { background: rgba(26,20,40,.05); }
.fv-btn--sm { padding: 7px 13px; font-size: 13px; }
.fv-btn--lg { padding: 14px 26px; font-size: 15.5px; }
.fv-btn--bloco { width: 100%; }

.fv-btn.is-loading::before {
  content: ''; width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid currentColor; border-top-color: transparent;
  animation: fv-spin .7s linear infinite;
}
@keyframes fv-spin { to { transform: rotate(360deg); } }

/* Cartões -------------------------------------------------------------- */

.fv-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
}
.fv-card--hover { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.fv-card--hover:hover { transform: translateY(-3px); box-shadow: var(--sh-3); border-color: #DCD6EC; }

.fv-sec { padding: 20px; }
.fv-sec + .fv-sec { border-top: 1px solid var(--line); }

/* Avatar --------------------------------------------------------------- */

.fv-avatar {
  border-radius: 50%; object-fit: cover; display: inline-flex;
  align-items: center; justify-content: center; flex: none;
  background: var(--slate-wash); border: 2px solid #fff; box-shadow: var(--sh-1);
}
.fv-avatar--txt { color: #fff; font-weight: 700; font-family: var(--f-micro); letter-spacing: .02em; }
.fv-selo { color: var(--blue); }

.fv-online {
  position: absolute; right: -1px; bottom: -1px;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--mint); border: 2px solid #fff;
}

/* Badges e chips ------------------------------------------------------- */

.fv-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  font-family: var(--f-micro); font-size: 11.5px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
}
.fv-badge .fv-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.fv-badge--mint  { background: var(--mint-wash);  color: #067A55; }
.fv-badge--amber { background: var(--amber-wash); color: #A15C06; }
.fv-badge--blue  { background: var(--blue-wash);  color: #2451C6; }
.fv-badge--rose  { background: var(--rose-wash);  color: #B4123A; }
.fv-badge--slate { background: var(--slate-wash); color: #4B5563; }
.fv-badge--flip  { background: var(--flip-wash);  color: var(--flip-dark); }

.fv-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 500;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  cursor: pointer; transition: all .15s ease; user-select: none;
}
.fv-chip:hover { border-color: var(--ink); }
.fv-chip.is-ativo { background: var(--ink); color: #fff; border-color: var(--ink); }

.fv-tag { font-size: 13px; color: var(--flip); font-weight: 500; }

/* Estrelas ------------------------------------------------------------- */

.fv-estrelas { color: var(--viral); letter-spacing: .5px; }
.fv-estrelas i { font-size: .95em; }

/* Formulários ---------------------------------------------------------- */

.fv-label {
  display: block; margin-bottom: 6px;
  font-size: 13px; font-weight: 600; color: var(--ink);
}
.fv-ajuda { font-size: 12.5px; color: var(--muted); margin-top: 6px; }

.fv-input, .fv-select, .fv-textarea {
  width: 100%; padding: 11px 14px;
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--surface); font-family: var(--f-body); font-size: 14.5px; color: var(--ink);
  transition: border-color .16s ease, box-shadow .16s ease;
}
.fv-input:focus, .fv-select:focus, .fv-textarea:focus {
  outline: none; border-color: var(--flip); box-shadow: 0 0 0 3px var(--flip-wash);
}
.fv-input::placeholder, .fv-textarea::placeholder { color: #A8A3BC; }
.fv-textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.fv-select {
  appearance: none; padding-right: 38px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236B6683'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; background-size: 15px;
}
.fv-campo-erro .fv-input, .fv-campo-erro .fv-textarea, .fv-campo-erro .fv-select { border-color: var(--rose); }
.fv-erro-txt { color: var(--rose); font-size: 12.5px; margin-top: 5px; display: block; }

.fv-busca { position: relative; }
.fv-busca .fv-input { padding-left: 40px; border-radius: 999px; }
.fv-busca > i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 14px; }

/* Upload por arrastar -------------------------------------------------- */

.fv-upload {
  border: 2px dashed #D6D1E6; border-radius: var(--r-lg);
  padding: 34px 20px; text-align: center; cursor: pointer;
  background: var(--surface); transition: all .18s ease;
}
.fv-upload:hover, .fv-upload.is-drag { border-color: var(--flip); background: var(--flip-wash); }
.fv-upload i { font-size: 26px; color: var(--flip); }

/* Navegação ------------------------------------------------------------ */

.fv-topo {
  position: sticky; top: 0; z-index: 50; height: var(--shell);
  background: rgba(255,255,255,.86); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.fv-lateral {
  position: fixed; top: var(--shell); bottom: 0; left: 0; width: var(--nav);
  background: var(--surface); border-right: 1px solid var(--line);
  padding: 16px 12px; overflow-y: auto; z-index: 40;
}
.fv-nav-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: var(--r); color: var(--muted);
  font-size: 14.5px; font-weight: 500; transition: all .15s ease;
}
.fv-nav-item i { width: 20px; text-align: center; font-size: 15px; }
.fv-nav-item:hover { background: var(--paper); color: var(--ink); }
.fv-nav-item.is-ativo { background: var(--ink); color: #fff; font-weight: 600; }
.fv-nav-item.is-ativo i { color: var(--viral); }

.fv-conteudo { margin-left: var(--nav); padding: 26px; }
.fv-largura { max-width: 1180px; margin: 0 auto; }

/* Barra inferior no telemóvel */
.fv-baixo {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  background: rgba(255,255,255,.94); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
}
.fv-baixo a {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 6px 2px; color: var(--muted); font-size: 10.5px; font-weight: 500;
  font-family: var(--f-micro); text-transform: uppercase; letter-spacing: .05em;
}
.fv-baixo a i { font-size: 17px; }
.fv-baixo a.is-ativo { color: var(--flip); }

/* Dropdown, modal, toast ---------------------------------------------- */

.fv-dropdown {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 70;
  min-width: 260px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-3);
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98);
  transition: all .16s cubic-bezier(.16,1,.3,1); transform-origin: top right;
}
.fv-dropdown.is-aberto { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.fv-dropdown a, .fv-dropdown button {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 10px 14px; font-size: 14px; text-align: left; background: none; border: 0; cursor: pointer;
}
.fv-dropdown a:hover, .fv-dropdown button:hover { background: var(--paper); }

.fv-modal-fundo {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(20,16,32,.55); backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center; padding: 18px;
  opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease;
}
.fv-modal-fundo.is-aberto { opacity: 1; visibility: visible; }
.fv-modal {
  width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto;
  background: var(--surface); border-radius: var(--r-xl); box-shadow: var(--sh-3);
  transform: translateY(14px) scale(.97); transition: transform .24s cubic-bezier(.16,1,.3,1);
}
.fv-modal-fundo.is-aberto .fv-modal { transform: none; }

#fv-toasts { position: fixed; right: 18px; bottom: 18px; z-index: 200; display: flex; flex-direction: column; gap: 10px; }
.fv-toast {
  display: flex; align-items: flex-start; gap: 11px;
  min-width: 260px; max-width: 380px; padding: 13px 16px;
  background: var(--ink); color: #fff; border-radius: var(--r);
  box-shadow: var(--sh-3); font-size: 14px;
  animation: fv-toast-in .28s cubic-bezier(.16,1,.3,1);
}
.fv-toast.is-saindo { animation: fv-toast-out .22s ease forwards; }
.fv-toast i { margin-top: 2px; }
.fv-toast--ok i   { color: #34D399; }
.fv-toast--erro i { color: #FB7185; }
@keyframes fv-toast-in  { from { opacity: 0; transform: translateY(14px); } }
@keyframes fv-toast-out { to   { opacity: 0; transform: translateX(20px); } }

/* Alertas -------------------------------------------------------------- */

.fv-alerta {
  display: flex; gap: 11px; padding: 13px 16px;
  border-radius: var(--r); font-size: 14px; border: 1px solid transparent;
}
.fv-alerta--erro { background: var(--rose-wash); color: #9F1239; border-color: #FBD0D9; }
.fv-alerta--ok   { background: var(--mint-wash); color: #065F46; border-color: #C7EEDE; }
.fv-alerta--info { background: var(--blue-wash); color: #1E40AF; border-color: #D3E0FD; }

/* Tabs ----------------------------------------------------------------- */

.fv-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.fv-tab {
  padding: 12px 16px; font-size: 14.5px; font-weight: 600; color: var(--muted);
  border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap;
  cursor: pointer; background: none; border-top: 0; border-left: 0; border-right: 0;
  transition: color .15s ease, border-color .15s ease;
}
.fv-tab:hover { color: var(--ink); }
.fv-tab.is-ativo { color: var(--flip); border-bottom-color: var(--flip); }

/* Progresso do projeto ------------------------------------------------- */

.fv-passos { display: flex; align-items: flex-start; overflow-x: auto; gap: 0; }
.fv-passo { flex: 1; min-width: 96px; text-align: center; position: relative; padding-top: 26px; }
.fv-passo::before {
  content: ''; position: absolute; top: 8px; left: 0; right: 0; height: 2px; background: var(--line);
}
.fv-passo:first-child::before { left: 50%; }
.fv-passo:last-child::before  { right: 50%; }
.fv-passo::after {
  content: ''; position: absolute; top: 3px; left: 50%; transform: translateX(-50%);
  width: 12px; height: 12px; border-radius: 50%; background: var(--line); border: 2px solid var(--paper);
}
.fv-passo.is-feito::before, .fv-passo.is-atual::before { background: var(--flip); }
.fv-passo.is-feito::after  { background: var(--flip); }
.fv-passo.is-atual::after  { background: var(--flip); box-shadow: 0 0 0 4px var(--flip-wash); }
.fv-passo span { font-family: var(--f-micro); font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.fv-passo.is-feito span, .fv-passo.is-atual span { color: var(--ink); }

/* Tabelas (painel de administração) ------------------------------------ */

.fv-tabela { width: 100%; border-collapse: collapse; font-size: 14px; }
.fv-tabela th {
  text-align: left; padding: 11px 14px; background: var(--paper);
  font-family: var(--f-micro); text-transform: uppercase; letter-spacing: .1em;
  font-size: 11px; color: var(--muted); font-weight: 700; white-space: nowrap;
}
.fv-tabela td { padding: 13px 14px; border-top: 1px solid var(--line); vertical-align: middle; }
.fv-tabela tbody tr:hover { background: #FBFAFD; }

/* Skeleton e estado vazio --------------------------------------------- */

.fv-skel {
  background: linear-gradient(90deg, #ECEAF3 25%, #F6F5FA 50%, #ECEAF3 75%);
  background-size: 200% 100%; animation: fv-skel 1.3s ease-in-out infinite;
  border-radius: var(--r-sm);
}
@keyframes fv-skel { to { background-position: -200% 0; } }

.fv-vazio { text-align: center; padding: 52px 24px; }
.fv-vazio i { font-size: 30px; color: #C9C3DC; }
.fv-vazio h3 { margin: 14px 0 6px; font-size: 17px; }
.fv-vazio p { color: var(--muted); font-size: 14px; max-width: 380px; margin: 0 auto; }

/* Curtir: a microinteração que confirma a ação ------------------------- */

.fv-like.is-ativo { color: var(--flip); }
.fv-like.is-ativo i { animation: fv-pop .35s cubic-bezier(.16,1.6,.5,1); }
@keyframes fv-pop { 0% { transform: scale(1); } 45% { transform: scale(1.32); } 100% { transform: scale(1); } }

/* Painel escuro (secções da landing) ---------------------------------- */

.fv-escuro { background: var(--ink); color: #fff; }
.fv-escuro .fv-micro { color: #A79FC4; }
.fv-vidro { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-lg); }

/* Assinatura da landing: o cartão que vira ----------------------------- */

.fv-flip { perspective: 1400px; }
.fv-flip-inner {
  position: relative; transform-style: preserve-3d;
  transition: transform .75s cubic-bezier(.65,.05,.36,1);
}
.fv-flip.is-virado .fv-flip-inner { transform: rotateY(180deg); }
.fv-face { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.fv-face--verso { position: absolute; inset: 0; transform: rotateY(180deg); }

/* Chat ----------------------------------------------------------------- */

.fv-bolha {
  max-width: 74%; padding: 10px 14px; border-radius: 18px;
  font-size: 14.5px; line-height: 1.5; word-break: break-word;
}
.fv-bolha--eu    { background: var(--flip); color: #fff; border-bottom-right-radius: 5px; margin-left: auto; }
.fv-bolha--outro { background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 5px; }

.fv-conversa { display: flex; gap: 12px; padding: 12px 14px; border-radius: var(--r); cursor: pointer; transition: background .14s ease; }
.fv-conversa:hover { background: var(--paper); }
.fv-conversa.is-ativa { background: var(--flip-wash); }

/* Barra de rolagem discreta ------------------------------------------- */

.fv-scroll::-webkit-scrollbar { width: 7px; height: 7px; }
.fv-scroll::-webkit-scrollbar-thumb { background: #D8D3E6; border-radius: 4px; }
.fv-scroll::-webkit-scrollbar-track { background: transparent; }

/* Utilitários ---------------------------------------------------------- */

.fv-linhas-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fv-linhas-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.fv-oculto { display: none !important; }

/* Responsivo ----------------------------------------------------------- */

@media (max-width: 1100px) {
  :root { --nav: 76px; }
  .fv-lateral .fv-nav-rotulo, .fv-lateral .fv-nav-seccao { display: none; }
  .fv-nav-item { justify-content: center; padding: 12px; }
  .fv-nav-item i { width: auto; font-size: 17px; }
}

@media (max-width: 860px) {
  .fv-lateral { transform: translateX(-100%); transition: transform .26s ease; width: 260px; box-shadow: var(--sh-3); }
  .fv-lateral.is-aberta { transform: none; }
  .fv-lateral .fv-nav-rotulo, .fv-lateral .fv-nav-seccao { display: block; }
  .fv-lateral .fv-nav-item { justify-content: flex-start; padding: 10px 12px; }
  .fv-conteudo { margin-left: 0; padding: 18px 14px 90px; }
  .fv-baixo { display: flex; }
  #fv-toasts { left: 14px; right: 14px; bottom: 78px; }
  .fv-toast { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
}

/* =====================================================================
   ACRESCENTOS — limites de conta, contrato na conversa, autenticação
   ===================================================================== */

/* Limite de publicações/projetos ------------------------------------- */

.fv-limite { padding: 14px; border-radius: var(--r); background: var(--paper); }
.fv-limite-barra {
  height: 6px; margin-top: 9px; border-radius: 999px;
  background: var(--line); overflow: hidden;
}
.fv-limite-barra span {
  display: block; height: 100%; border-radius: 999px;
  transition: width .4s cubic-bezier(.16,1,.3,1);
}

/* Painel do contrato dentro da conversa ------------------------------ */

.fv-contrato {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface); overflow: hidden;
}
.fv-contrato__topo {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; background: var(--ink); color: #fff;
}
.fv-contrato__topo .fv-micro { color: #A79FC4; }
.fv-contrato__corpo { padding: 16px; }
.fv-contrato__valores {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
  padding: 12px; border-radius: var(--r); background: var(--paper); margin-top: 12px;
}
.fv-contrato__acordo {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; padding: 7px 0; color: var(--muted);
}
.fv-contrato__acordo i { width: 16px; }
.fv-contrato__acordo.is-feito { color: #067A55; }

/* Autenticação em duas colunas --------------------------------------- */

.fv-auth { min-height: 100vh; display: grid; grid-template-columns: 1fr; }
.fv-auth__visual {
  position: relative; display: none;
  background: var(--ink); overflow: hidden;
}
.fv-auth__visual img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
}
.fv-auth__visual::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(26,20,40,.18) 0%, rgba(26,20,40,.55) 55%, rgba(26,20,40,.94) 100%);
}
.fv-auth__texto {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 40px; color: #fff;
}
.fv-auth__forma {
  width: 100%; max-width: 420px; margin: 0 auto; padding: 40px 24px;
}

@media (min-width: 1024px) {
  .fv-auth { grid-template-columns: 1.05fr 1fr; }
  .fv-auth__visual { display: block; }
  .fv-auth__forma { padding: 48px 40px; }
}

/* Campo de código de confirmação ------------------------------------- */

.fv-codigo {
  width: 100%; text-align: center;
  font-family: var(--f-micro); font-size: 30px; font-weight: 700;
  letter-spacing: 14px; text-indent: 14px; padding: 14px 10px;
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--surface); color: var(--ink);
}
.fv-codigo:focus { outline: none; border-color: var(--flip); box-shadow: 0 0 0 3px var(--flip-wash); }

/* Escolha de tipo de conta ------------------------------------------- */

.fv-escolha {
  display: block; cursor: pointer; text-align: center;
  padding: 16px 12px; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface); transition: all .16s ease;
}
.fv-escolha:hover { border-color: #C9C3DC; }
.fv-escolha:has(:checked) {
  border-color: var(--flip); background: var(--flip-wash);
  box-shadow: 0 0 0 3px var(--flip-wash);
}
.fv-escolha i { font-size: 18px; color: var(--flip); }

/* Correções de alinhamento ------------------------------------------- */

.fv-tabela td .fv-btn { white-space: nowrap; }
.fv-sec > h3 + p { margin-top: 4px; }
.fv-card dl { margin: 0; }
.fv-card dd { margin: 0; }
input[type="range"] { accent-color: var(--flip); height: 22px; }
.fv-chip:has(:checked) { background: var(--ink); color: #fff; border-color: var(--ink); }
.fv-chip input { position: absolute; opacity: 0; pointer-events: none; }
