/* Vizit — public profile card. Theme colours arrive as CSS variables on the root. */
.p-wrap { min-height: 100vh; background: var(--p-page); display: flex; justify-content: center; padding: 32px 16px 40px; font-family: 'Satoshi', sans-serif; }
.p-box { width: 100%; max-width: 404px; }
.p-card { background: var(--p-card); font-family: var(--p-font); border-radius: 26px; box-shadow: 0 1px 3px rgba(16,20,24,.06), 0 18px 50px -18px rgba(16,20,24,.18); overflow: hidden; }
.p-cover { height: 96px; background: var(--p-cover); background-size: cover; background-position: center; }
.p-body { padding: 0 24px 4px; text-align: center; margin-top: -48px; position: relative; z-index: 1; }
.p-avatar { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; background: var(--p-avbg); color: var(--p-avfg); border: 4px solid var(--p-card); display: inline-flex; align-items: center; justify-content: center; font-family: var(--p-font); font-weight: 600; font-size: 34px; box-shadow: 0 6px 16px rgba(16,20,24,.14); }
.p-avatar img { width: 100%; height: 100%; object-fit: cover; }
.p-name { margin: 14px 0 3px; font-family: var(--p-font); font-weight: 700; font-size: 23px; color: var(--p-name); }
.p-role { margin: 0; font-size: 14.5px; color: var(--p-sub); }
.p-bio { margin: 12px auto 0; max-width: 300px; font-size: 14px; line-height: 1.55; color: var(--p-sub); }
.p-save { margin-top: 20px; width: 100%; background: var(--p-accent); color: var(--p-accentfg); border: none; border-radius: 14px; padding: 15px; font-weight: 700; font-size: 15px; cursor: pointer; text-decoration: none; display: flex; align-items: center; justify-content: center; gap: 9px; box-shadow: 0 10px 20px -10px rgba(0,0,0,.35); }
.p-links { padding: 20px 20px 4px; display: flex; flex-direction: column; gap: 10px; }
.p-qrwrap { text-align: center; padding: 6px 20px 22px; }
.p-qrbtn { background: none; border: none; color: var(--p-accent); font-weight: 600; font-size: 13.5px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.p-made { text-align: center; margin-top: 20px; font-size: 12.5px; color: #9a968d; }
.p-made a { color: #101418; font-weight: 700; text-decoration: none; }

/* contact link row */
.p-link { display: flex; align-items: center; gap: 14px; padding: 13px 14px; text-decoration: none; border-radius: var(--p-btnradius, 14px); transition: border-color .15s ease, background .15s ease; }
.p-link--solid { background: var(--p-linkbg); border: 1px solid var(--p-linkbd); }
.p-link--outline { background: transparent; border: 1.6px solid var(--p-accent); }
.p-link--shadow { background: var(--p-linkbg); border: 1.6px solid var(--p-name); box-shadow: 3px 3px 0 var(--p-accent); }
.p-link:hover { border-color: var(--p-accent) !important; background: var(--p-linkhover) !important; }
.p-link__icon { width: 40px; height: 40px; border-radius: 11px; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; padding: 9px; }
.p-link__text { flex: 1; text-align: left; }
.p-link__label { display: block; font-size: 14.5px; font-weight: 600; color: var(--p-name); }
.p-link__sub { display: block; font-size: 12.5px; color: var(--p-sub); }

/* QR modal */
.p-modal { position: fixed; inset: 0; z-index: 100; background: rgba(16,20,24,.55); display: flex; align-items: center; justify-content: center; padding: 24px; }
.p-modal__card { background: #fff; border-radius: 22px; padding: 28px; max-width: 320px; width: 100%; text-align: center; box-shadow: 0 24px 60px -12px rgba(0,0,0,.4); }
.p-modal__title { font-family: 'General Sans', sans-serif; font-weight: 700; font-size: 18px; margin: 0; }
.p-modal__sub { font-size: 13px; color: #6b7280; margin: 6px 0 0; }
.p-modal__qr { width: 200px; height: 200px; margin: 18px auto; padding: 10px; border: 1px solid #ECEBE6; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.p-modal__url { font-size: 13px; font-weight: 600; color: #101418; margin: 0; }
.p-modal__close { margin-top: 18px; width: 100%; background: #101418; color: #fff; border: none; border-radius: 12px; padding: 13px; font-weight: 600; font-size: 14px; cursor: pointer; }

/* company template logo on member cards */
.p-cover { position: relative; }
.p-companylogo { position: absolute; top: 10px; left: 12px; display: inline-flex; align-items: center; background: rgba(255,255,255,.9); border-radius: 7px; padding: 4px 8px; box-shadow: 0 2px 6px rgba(16,20,24,.12); }
.p-companylogo img { width: auto; display: block; height: 24px; }
.p-companylogo--small img { height: 16px; }
.p-companylogo--medium img { height: 24px; }
.p-companylogo--large img { height: 34px; }

/* share row + QR download */
.p-share { display: flex; justify-content: center; gap: 10px; padding: 6px 20px 0; }
.p-share__btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--p-linkbd); background: var(--p-linkbg); color: var(--p-name); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; text-decoration: none; transition: border-color .15s ease, background .15s ease, color .15s ease; }
.p-share__btn:hover { border-color: var(--p-accent); color: var(--p-accent); }
.p-modal__download { margin-top: 10px; width: 100%; background: none; border: none; color: var(--p-accent, #FF4A1C); font-weight: 600; font-size: 13px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }

/* company logo position variants on the public card */
.p-logo-c { text-align: center; }
.p-logo-c img { width: auto; display: inline-block; height: 34px; }
.p-logo-c--small img { height: 24px; }
.p-logo-c--medium img { height: 36px; }
.p-logo-c--large img { height: 54px; }
.p-logo-above { margin-bottom: 6px; }
.p-logo-footer { padding: 4px 20px 20px; }

/* selo de verificado (layout clássico) */
.p-name { display: flex; align-items: center; justify-content: center; gap: 7px; }
.p-verified { flex: 0 0 auto; filter: drop-shadow(0 2px 6px rgba(255,74,28,.35)); }

/* título de seção entre os links (layout clássico) */
.p-sect { padding: 16px 2px 2px; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; opacity: .85; text-align: left; }

/* banner "instalar como app" (só para o dono do cartão) */
.p-install { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; max-width: 440px; margin: 0 auto; font-family: 'Satoshi', system-ui, sans-serif; }
.p-install__card { display: flex; align-items: center; gap: 12px; background: #101418; color: #fff; border-radius: 16px; padding: 12px 14px; box-shadow: 0 10px 32px -8px rgba(16,20,24,.45); }
.p-install__icon { width: 42px; height: 42px; border-radius: 11px; flex: 0 0 auto; object-fit: cover; }
.p-install__txt { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1; }
.p-install__txt strong { font-size: 13.5px; font-weight: 700; line-height: 1.3; }
.p-install__txt span { font-size: 12px; color: rgba(255,255,255,.72); line-height: 1.35; }
.p-install__btn { flex: 0 0 auto; border: none; border-radius: 999px; background: #FF4A1C; color: #fff; font-weight: 700; font-size: 13px; padding: 9px 16px; cursor: pointer; }
.p-install__btn:hover { background: #E63E12; }
.p-install__close { flex: 0 0 auto; width: 28px; height: 28px; border: none; border-radius: 50%; background: rgba(255,255,255,.12); color: rgba(255,255,255,.8); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.p-install__help { margin-top: 8px; background: #fff; color: #101418; border: 1px solid #E7E7E2; border-radius: 13px; padding: 11px 14px; font-size: 13px; line-height: 1.5; box-shadow: 0 8px 24px -10px rgba(16,20,24,.25); }
