/* ProfiCard · identidade visual
   Azul Profi #1F4FE0 · Azul Noite #0B1220 · Ouro Reputação #F5A524
   Verde Confirmado #12A150 · Vermelho Alerta #E5484D · Névoa #F3F5F9
   Tipografia: Plus Jakarta Sans */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

:root {
  --blue: #1F4FE0; --blue-600: #1A43C2; --blue-50: #EEF2FE; --blue-100: #DCE5FD;
  --night: #0B1220; --night-2: #141C2E; --gold: #F5A524; --gold-50: #FEF5E3;
  --green: #12A150; --green-50: #E7F6EE; --red: #E5484D; --red-50: #FDECEC; --amber-50: #FFF7E0;
  --mist: #F3F5F9; --line: #E3E7EF; --muted: #5B6475; --ink: #0B1220; --bg: #FFFFFF; --card: #FFFFFF;
  --radius: 14px; --radius-sm: 10px; --shadow: 0 1px 2px rgba(11,18,32,.06), 0 8px 24px -12px rgba(11,18,32,.18);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
  color-scheme: light;
}
* { box-sizing: border-box; min-width: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.55 var(--font); color: var(--ink); background: var(--bg); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(32px, 5vw, 54px); font-weight: 800; }
h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0 0 1em; }
small, .muted { color: var(--muted); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 max(4vw, 16px); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }

/* ---------- animações discretas ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { 0% { transform: scale(.96); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
@keyframes shimmer { 0% { background-position: -400px 0; } 100% { background-position: 400px 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes toastIn { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.anim-rise { animation: rise .55s var(--ease) both; }
.anim-rise.d1 { animation-delay: .06s; } .anim-rise.d2 { animation-delay: .12s; } .anim-rise.d3 { animation-delay: .18s; } .anim-rise.d4 { animation-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- botões e formulários ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 20px; border-radius: 12px;
  border: 1.5px solid transparent; font: 700 15px/1 var(--font); cursor: pointer; text-decoration: none !important; white-space: nowrap;
  transition: transform .15s var(--ease), background-color .2s, border-color .2s, box-shadow .2s; background: var(--blue); color: #fff; }
.btn:hover { background: var(--blue-600); box-shadow: 0 6px 18px -8px rgba(31,79,224,.6); }
.btn:active { transform: scale(.98); }
.btn[disabled], .btn.loading { opacity: .7; pointer-events: none; }
.btn.loading::after { content: ""; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--mist); box-shadow: none; }
.btn-gold { background: var(--gold); color: var(--night); }
.btn-gold:hover { background: #E89A15; }
.btn-danger { background: var(--red); }
.btn-danger:hover { background: #CC3A3F; }
.btn-soft { background: var(--blue-50); color: var(--blue); }
.btn-soft:hover { background: var(--blue-100); box-shadow: none; }
.btn-sm { min-height: 36px; padding: 6px 12px; font-size: 13.5px; border-radius: 9px; }
.btn-block { width: 100%; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-sm svg { width: 16px; height: 16px; }
.kicker svg { width: 16px; height: 16px; flex: none; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--blue); cursor: pointer; font-weight: 600; }

.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field > label, .label { font-weight: 600; font-size: 14px; }
.field .hint { font-size: 13px; color: var(--muted); }
.field .error { font-size: 13px; color: var(--red); display: none; }
.field.has-error .error { display: block; }
.field.has-error .input { border-color: var(--red); background: var(--red-50); }
.input, select.input, textarea.input { width: 100%; min-height: 46px; padding: 11px 14px; border-radius: 11px; border: 1.5px solid var(--line);
  background: #fff; font: 16px/1.4 var(--font); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
textarea.input { min-height: 96px; resize: vertical; }
.input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31,79,224,.14); }
.input-wrap { position: relative; }
.input-wrap .input { padding-right: 52px; }
.eye { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 44px; height: 40px; border: 0; background: none; cursor: pointer;
  color: var(--muted); display: grid; place-items: center; border-radius: 8px; }
.eye:hover { color: var(--ink); background: var(--mist); }
.eye svg { width: 22px; height: 22px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--blue); flex: none; }
.row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 14px; }
.row-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0 14px; }
@media (max-width: 620px) { .row, .row-3 { grid-template-columns: minmax(0,1fr); } }
.switch { position: relative; display: inline-flex; width: 46px; height: 27px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; background: #CDD3DE; border-radius: 99px; transition: background .2s; cursor: pointer; }
.switch span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 21px; height: 21px; border-radius: 50%; background: #fff; transition: transform .2s var(--ease); box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch input:checked + span { background: var(--green); }
.switch input:checked + span::after { transform: translateX(19px); }
.switch input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }

.alert { padding: 12px 14px; border-radius: 11px; font-size: 14.5px; margin-bottom: 14px; border: 1px solid transparent; }
.alert-error { background: var(--red-50); color: #9B1C20; border-color: #F7C9CA; }
.alert-ok { background: var(--green-50); color: #0B6B35; border-color: #BFE5CF; }
.alert-info { background: var(--blue-50); color: #1A3A9C; border-color: var(--blue-100); }
.alert-warn { background: var(--amber-50); color: #7A5200; border-color: #F6DFA8; }
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 99px; white-space: nowrap; background: var(--mist); color: var(--muted); }
.badge-blue { background: var(--blue-50); color: var(--blue); }
.badge-green { background: var(--green-50); color: #0B6B35; }
.badge-red { background: var(--red-50); color: #B4262B; }
.badge-gold { background: var(--gold-50); color: #8A5A00; }
.stars { color: var(--gold); letter-spacing: 1px; white-space: nowrap; }
.stars .off { color: #D5DAE3; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card + .card { margin-top: 16px; }
.skeleton { background: linear-gradient(90deg, #EEF1F6 25%, #F7F8FB 50%, #EEF1F6 75%); background-size: 800px 100%; animation: shimmer 1.3s infinite linear; border-radius: 10px; min-height: 18px; }
.empty { text-align: center; padding: 36px 16px; color: var(--muted); }
.empty svg { width: 54px; height: 54px; margin: 0 auto 10px; color: #B9C2D3; }

/* ---------- toast e modal ---------- */
#toasts { position: fixed; z-index: 100; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); transform: translateX(-50%); display: grid; gap: 8px; width: min(92vw, 420px); }
.toast { background: var(--night); color: #fff; padding: 13px 16px; border-radius: 12px; font-size: 14.5px; box-shadow: 0 12px 30px -10px rgba(0,0,0,.4); animation: toastIn .3s var(--ease) both; display: flex; gap: 10px; align-items: center; }
.toast.ok::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3DDC84; flex: none; }
.toast.err::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #FF6B6F; flex: none; }
.modal-bg { position: fixed; inset: 0; z-index: 90; background: rgba(11,18,32,.5); display: grid; place-items: center; padding: 16px; animation: fade .2s both; }
.modal { background: #fff; border-radius: 18px; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 22px; animation: pop .25s var(--ease) both; box-shadow: 0 30px 80px -20px rgba(0,0,0,.45); }
.modal h3 { margin-bottom: 14px; padding-right: 30px; }
.modal-close { float: right; border: 0; background: var(--mist); width: 36px; height: 36px; border-radius: 10px; cursor: pointer; font-size: 20px; line-height: 1; color: var(--muted); }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; flex-wrap: wrap; }
@media (max-width: 560px) { .modal-bg { align-items: end; padding: 0; } .modal { border-radius: 18px 18px 0 0; max-height: 92vh; } }

/* ---------- site público ---------- */
.site-head { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.88); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-head.scrolled { border-bottom-color: var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; letter-spacing: -.03em; color: var(--ink) !important; text-decoration: none !important; }
.logo img { width: 36px; height: 36px; }
.logo b { color: var(--blue); font-weight: 800; }
.logo span { white-space: nowrap; }
.logo.white { color: #fff !important; }
.logo.white b { color: var(--gold); }
.site-nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.site-nav a:not(.btn) { color: var(--ink); font-weight: 600; font-size: 15px; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 10px; }
@media (max-width: 860px) {
  .menu-btn { display: grid; place-items: center; }
  .site-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 14px max(4vw,16px) 20px; border-bottom: 1px solid var(--line); gap: 6px; }
  .site-nav.open { display: flex; animation: fade .2s both; }
  .site-nav a:not(.btn) { padding: 10px 0; }
}
.hero { padding: clamp(36px, 7vw, 90px) 0 clamp(40px, 6vw, 80px); background: radial-gradient(1200px 500px at 85% 10%, var(--blue-50), transparent 60%); }
.hero .wrap { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero .kicker { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; font-size: 14px; color: var(--blue); background: var(--blue-50); padding: 6px 12px; border-radius: 99px; margin-bottom: 18px; }
.hero p.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 54ch; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero .proof { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 26px; color: var(--muted); font-size: 14px; }
.hero .proof b { color: var(--ink); }
.stage { position: relative; min-height: 520px; display: grid; place-items: center; }
.pcard { position: absolute; left: 0; top: 70px; width: min(330px, 70%); aspect-ratio: 85.6/54; background: var(--night); color: #fff; border-radius: 18px; padding: 22px; display: grid; grid-template-columns: 1fr 34%; gap: 14px; box-shadow: 0 30px 60px -24px rgba(11,18,32,.55); transform: rotate(-8deg); transition: transform .6s var(--ease); z-index: 1; }
.stage:hover .pcard { transform: rotate(-4deg) translateY(-6px); }
.pcard .nm { font-weight: 800; font-size: 20px; line-height: 1.1; }
.pcard .rl { font-size: 13px; opacity: .75; margin-top: 4px; }
.pcard .q { background: #fff; border-radius: 8px; padding: 6px; align-self: center; }
.pcard .brand { align-self: end; font-weight: 800; font-size: 13px; letter-spacing: -.02em; }
.pcard .brand b { color: var(--gold); }
.phone { position: relative; z-index: 2; width: 270px; aspect-ratio: 9/18.6; border: 10px solid var(--night); border-radius: 38px; overflow: hidden; background: #fff; box-shadow: 0 40px 80px -30px rgba(11,18,32,.6); margin-left: 120px; font-size: 13px; }
.phone .scr { padding: 0 14px 14px; display: grid; gap: 9px; }
.phone .cv { height: 74px; margin: 0 -14px; background: linear-gradient(135deg, var(--blue), #5B83FF); }
.phone .av { width: 64px; height: 64px; border-radius: 50%; border: 3px solid #fff; margin-top: -40px; background: var(--blue-50); display: grid; place-items: center; font-weight: 800; color: var(--blue); font-size: 22px; }
.phone .nm { font-weight: 800; font-size: 17px; line-height: 1.2; }
.phone .sm { font-size: 12px; color: var(--muted); }
.phone .b { background: var(--blue); color: #fff; border-radius: 10px; padding: 10px; text-align: center; font-weight: 700; }
.phone .b.o { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.phone .acts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.phone .acts span { background: var(--mist); border-radius: 9px; padding: 8px 0; font-size: 10.5px; text-align: center; font-weight: 700; }
.phone .rv { border-top: 1px solid var(--line); padding-top: 8px; font-size: 12px; }
@media (max-width: 920px) { .hero .wrap { grid-template-columns: minmax(0,1fr); } .stage { min-height: 470px; } }
@media (max-width: 520px) { .phone { margin-left: 70px; width: 236px; } .pcard { width: 250px; top: 40px; padding: 16px; } .pcard .nm { font-size: 16px; } }

.band { padding: clamp(48px, 7vw, 96px) 0; }
.band.mist { background: var(--mist); }
.band.dark { background: var(--night); color: #E8ECF4; }
.band.dark .muted, .band.dark p { color: #AEB7C8; }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head p { color: var(--muted); font-size: 18px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; counter-reset: s; }
.steps > div { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; position: relative; transition: transform .3s var(--ease), box-shadow .3s; }
.steps > div:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.steps > div::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--blue); color: #fff; font-weight: 800; font-size: 19px; margin-bottom: 16px; }
.steps p { color: var(--muted); margin: 0; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.pillar { border-radius: 18px; padding: 26px; background: var(--night-2); border: 1px solid #222C42; }
.pillar .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; }
.pillar .ic svg { width: 24px; height: 24px; }
.pillar h3 { color: #fff; }
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.feature svg { width: 26px; height: 26px; color: var(--blue); margin-bottom: 12px; }
.feature h3 { font-size: 17px; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 14.5px; margin: 0; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.plan { background: #fff; border: 1.5px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.plan.featured { border-color: var(--blue); box-shadow: 0 20px 40px -24px rgba(31,79,224,.45); }
.plan .price { font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.plan .price small { font-size: 14px; font-weight: 600; }
.plan ul { list-style: none; padding: 0; margin: 4px 0 12px; display: grid; gap: 8px; font-size: 14.5px; flex: 1; }
.plan li { display: flex; gap: 8px; }
.plan li::before { content: ""; width: 18px; height: 18px; flex: none; margin-top: 2px; border-radius: 50%; background: var(--green-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%2312A150' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.plan li.no { color: var(--muted); }
.plan li.no::before { background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10h8' stroke='%23A0A8B8' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--blue); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 10px 0 0; color: var(--muted); }
.site-foot { background: var(--night); color: #AEB7C8; padding: 48px 0 28px; font-size: 14.5px; }
.site-foot .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; }
.site-foot h4 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.site-foot a { color: #D3D9E4; display: block; padding: 4px 0; }
.site-foot .legal { border-top: 1px solid #222C42; margin-top: 30px; padding-top: 18px; font-size: 13px; }
@media (max-width: 860px) { .steps, .pillars { grid-template-columns: minmax(0,1fr); } .feature-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } .site-foot .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .feature-grid { grid-template-columns: minmax(0,1fr); } }

/* ---------- autenticação ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.auth-side { background: var(--night); color: #fff; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.auth-side::after { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -180px; bottom: -200px; background: radial-gradient(circle, rgba(31,79,224,.55), transparent 65%); }
.auth-side blockquote { font-size: 24px; font-weight: 700; line-height: 1.35; margin: 0; max-width: 22ch; position: relative; z-index: 1; }
.auth-side .stars { font-size: 20px; }
.auth-main { display: grid; place-items: center; padding: 32px 16px; }
.auth-box { width: min(420px, 100%); }
.auth-box h1 { font-size: 30px; margin-bottom: 6px; }
.auth-box .sub { color: var(--muted); margin-bottom: 24px; }
.auth-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 4px 0 18px; flex-wrap: wrap; }
@media (max-width: 860px) { .auth { grid-template-columns: minmax(0,1fr); } .auth-side { display: none; } }

/* ---------- painel (app shell) ---------- */
.app { display: grid; grid-template-columns: 252px minmax(0,1fr); min-height: 100vh; background: var(--mist); }
.side { background: var(--night); color: #C9D1DF; padding: 18px 14px; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 4px; overflow-y: auto; }
.side .logo { padding: 6px 8px 18px; font-size: 20px; }
.side a.nav { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px; color: #C9D1DF; font-weight: 600; font-size: 15px; text-decoration: none; transition: background .2s, color .2s; }
.side a.nav svg { width: 20px; height: 20px; flex: none; opacity: .85; }
.side a.nav:hover { background: #18213A; color: #fff; }
.side a.nav.active { background: var(--blue); color: #fff; }
.side a.nav .count { margin-left: auto; background: var(--gold); color: var(--night); font-size: 11.5px; font-weight: 800; padding: 1px 7px; border-radius: 99px; }
.side .side-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid #1E2740; font-size: 13.5px; }
.top { display: flex; align-items: center; gap: 12px; padding: 14px clamp(16px, 3vw, 32px); background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.top h1 { font-size: 21px; margin: 0; }
.top .sp { flex: 1; }
.top .burger { display: none; }
.main { padding: clamp(16px, 3vw, 32px); max-width: 1180px; width: 100%; }
.view { animation: rise .35s var(--ease) both; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 18px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.kpi .v { font-size: 30px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.kpi .l { color: var(--muted); font-size: 13.5px; }
.tabs { display: flex; gap: 6px; overflow-x: auto; border-bottom: 1px solid var(--line); margin-bottom: 18px; scrollbar-width: none; }
.tabs button { border: 0; background: none; padding: 11px 14px; font: 600 14.5px var(--font); color: var(--muted); cursor: pointer; border-bottom: 2.5px solid transparent; white-space: nowrap; }
.tabs button.on { color: var(--blue); border-bottom-color: var(--blue); }
.list { display: grid; gap: 10px; }
.item { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; display: flex; gap: 12px; align-items: center; transition: box-shadow .2s, transform .2s var(--ease); }
.item:hover { box-shadow: var(--shadow); }
.item .grow { flex: 1; min-width: 0; }
.item .t { font-weight: 700; }
.item .s { color: var(--muted); font-size: 13.5px; overflow-wrap: anywhere; }
.handle { cursor: grab; color: #A0A8B8; padding: 4px; border: 0; background: none; touch-action: none; }
.handle svg { width: 18px; height: 18px; }
.dragging { opacity: .5; }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
table.t { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.t th { text-align: left; font-weight: 700; color: var(--muted); font-size: 13px; padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.t td { padding: 12px 14px; border-bottom: 1px solid #EEF1F6; vertical-align: top; }
.t tr:last-child td { border-bottom: 0; }
.t td.n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.toolbar .input { width: auto; min-width: 200px; flex: 1; }
.chart { display: flex; align-items: flex-end; gap: 3px; height: 160px; padding-top: 10px; }
.chart .bar { flex: 1; background: var(--blue-100); border-radius: 5px 5px 0 0; min-height: 2px; position: relative; transition: background .2s; }
.chart .bar:hover { background: var(--blue); }
.chart .bar span { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); font-size: 11px; color: var(--muted); display: none; white-space: nowrap; }
.chart .bar:hover span { display: block; }
.hbar { display: grid; grid-template-columns: 110px minmax(0,1fr) 44px; gap: 10px; align-items: center; font-size: 14px; margin-bottom: 8px; }
.hbar i { display: block; height: 10px; border-radius: 6px; background: var(--blue); }
.hbar b { text-align: right; font-variant-numeric: tabular-nums; }
.qrbox { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: grid; justify-items: center; gap: 10px; }
.qrbox #qr-img svg, .qrbox canvas { width: 200px; height: 200px; }
.pill-group { display: inline-flex; background: var(--mist); border-radius: 10px; padding: 3px; gap: 2px; }
.pill-group button { border: 0; background: none; padding: 7px 12px; border-radius: 8px; font: 600 13.5px var(--font); color: var(--muted); cursor: pointer; }
.pill-group button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.upload-drop { border: 2px dashed var(--line); border-radius: 14px; padding: 18px; text-align: center; color: var(--muted); cursor: pointer; transition: border-color .2s, background .2s; display: block; }
.upload-drop:hover, .upload-drop.over { border-color: var(--blue); background: var(--blue-50); }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.thumbs figure { margin: 0; position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 1; background: var(--mist); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button { position: absolute; top: 6px; right: 6px; }
.avatar-edit { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.avatar-edit .ph { width: 84px; height: 84px; border-radius: 50%; background: var(--blue-50) center/cover; display: grid; place-items: center; font-weight: 800; color: var(--blue); font-size: 26px; flex: none; }
.cover-edit { height: 120px; border-radius: 14px; background: linear-gradient(135deg, var(--blue), #5B83FF) center/cover; margin-bottom: 14px; }
.week { display: grid; gap: 8px; }
.week .day { display: grid; grid-template-columns: 120px minmax(0,1fr); gap: 10px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.week .ranges { display: grid; gap: 6px; }
.week .range { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.week .range .input { width: 118px; min-height: 40px; padding: 8px 10px; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0,1fr)); gap: 4px; }
.cal .h { text-align: center; font-size: 12px; color: var(--muted); font-weight: 700; padding: 4px 0; }
.cal button { aspect-ratio: 1; border: 1px solid var(--line); background: #fff; border-radius: 10px; font: 600 14px var(--font); cursor: pointer; color: var(--ink); }
.cal button:disabled { color: #C2C9D6; background: var(--mist); border-color: transparent; cursor: default; }
.cal button.on { background: var(--blue); color: #fff; border-color: var(--blue); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.slots button { border: 1.5px solid var(--line); background: #fff; border-radius: 10px; padding: 10px 0; font: 700 14px var(--font); cursor: pointer; transition: all .15s; }
.slots button:hover { border-color: var(--blue); }
.slots button.on { background: var(--blue); color: #fff; border-color: var(--blue); }
.status-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; margin-right: 6px; }
@media (max-width: 960px) {
  .app { grid-template-columns: minmax(0,1fr); }
  .side { position: fixed; z-index: 50; left: 0; top: 0; width: 272px; transform: translateX(-100%); transition: transform .25s var(--ease); }
  .side.open { transform: none; box-shadow: 20px 0 60px rgba(0,0,0,.3); }
  .top .burger { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
  .grid-2, .grid-3 { grid-template-columns: minmax(0,1fr); }
  .week .day { grid-template-columns: minmax(0,1fr); }
}
.scrim { display: none; }
@media (max-width: 960px) { .scrim.open { display: block; position: fixed; inset: 0; z-index: 40; background: rgba(11,18,32,.45); animation: fade .2s both; } }
.bottom-nav { display: none; }
@media (max-width: 960px) {
  .bottom-nav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; bottom: 0; left: 0; right: 0; z-index: 30; background: #fff; border-top: 1px solid var(--line); padding: 6px 4px max(6px, env(safe-area-inset-bottom)); }
  .bottom-nav a { display: grid; justify-items: center; gap: 2px; font-size: 11px; font-weight: 700; color: var(--muted); padding: 4px 0; text-decoration: none; }
  .bottom-nav a svg { width: 22px; height: 22px; }
  .bottom-nav a.active { color: var(--blue); }
  .main { padding-bottom: 96px; }
}

/* ---------- perfil público ---------- */
.pf { --accent: var(--blue); max-width: 560px; margin: 0 auto; min-height: 100vh; background: #fff; }
.pf-cover { height: 170px; background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 55%, #fff)) center/cover; }
.pf-head { padding: 0 20px; margin-top: -54px; text-align: center; animation: rise .5s var(--ease) both; }
.pf-avatar { width: 108px; height: 108px; border-radius: 50%; border: 4px solid #fff; margin: 0 auto 12px; background: var(--blue-50) center/cover; display: grid; place-items: center; font-weight: 800; font-size: 34px; color: var(--accent); box-shadow: 0 10px 30px -12px rgba(11,18,32,.35); }
.pf-head h1 { font-size: 26px; margin-bottom: 4px; }
.pf-head .role { color: var(--muted); font-size: 15px; }
.pf-rating { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 6px 12px; border-radius: 99px; background: var(--gold-50); font-weight: 700; font-size: 14px; color: var(--ink); text-decoration: none !important; }
.pf-body { padding: 18px 20px 40px; display: grid; gap: 22px; }
.pf-body > section { animation: rise .5s var(--ease) both; }
.pf-main-btns { display: grid; gap: 10px; }
.pf-main-btns .btn { background: var(--accent); min-height: 52px; font-size: 16px; }
.pf-acts { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 8px; }
.pf-acts a, .pf-acts button { display: grid; justify-items: center; gap: 6px; padding: 12px 4px; border-radius: 14px; background: var(--mist); color: var(--ink); font-weight: 700; font-size: 12.5px; text-decoration: none; border: 0; cursor: pointer; font-family: var(--font); transition: transform .15s var(--ease), background .2s; }
.pf-acts a:hover, .pf-acts button:hover { background: #E8ECF4; transform: translateY(-2px); }
.pf-acts svg { width: 24px; height: 24px; color: var(--accent); }
.pf h2 { font-size: 18px; margin-bottom: 12px; letter-spacing: -.01em; }
.pf-bio { color: #2A3346; white-space: pre-line; }
.pf-links { display: grid; gap: 10px; }
.pf-links a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 14px; color: var(--ink); font-weight: 700; text-decoration: none; transition: border-color .2s, transform .15s var(--ease); }
.pf-links a:hover { border-color: var(--accent); transform: translateY(-1px); }
.pf-links a::after { content: "›"; margin-left: auto; font-size: 22px; color: var(--muted); }
.pf-socials { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.pf-socials a { width: 46px; height: 46px; border-radius: 50%; background: var(--mist); display: grid; place-items: center; color: var(--ink); transition: background .2s, color .2s; }
.pf-socials a:hover { background: var(--accent); color: #fff; }
.pf-socials svg { width: 20px; height: 20px; }
.pf-services { display: grid; gap: 10px; }
.pf-service { display: flex; gap: 12px; justify-content: space-between; padding: 14px 16px; background: var(--mist); border-radius: 14px; }
.pf-service .p { font-weight: 800; white-space: nowrap; }
.pf-service .d { color: var(--muted); font-size: 14px; }
.pf-gallery { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 6px; }
.pf-gallery button { padding: 0; border: 0; aspect-ratio: 1; border-radius: 10px; overflow: hidden; cursor: zoom-in; background: var(--mist); }
.pf-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s var(--ease); }
.pf-gallery button:hover img { transform: scale(1.04); }
.pf-hours { display: grid; gap: 4px; font-size: 15px; }
.pf-hours div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.pf-hours .today { font-weight: 800; color: var(--accent); }
.pf-rev-sum { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 18px; align-items: center; margin-bottom: 14px; }
.pf-rev-sum .avg { font-size: 44px; font-weight: 800; line-height: 1; }
.dist { display: grid; gap: 4px; }
.dist div { display: grid; grid-template-columns: 14px minmax(0,1fr) 30px; gap: 8px; align-items: center; font-size: 12.5px; color: var(--muted); }
.dist i { display: block; height: 7px; border-radius: 4px; background: var(--gold); }
.dist .track { background: var(--mist); border-radius: 4px; height: 7px; overflow: hidden; }
.rev { border-top: 1px solid var(--line); padding: 14px 0; display: grid; gap: 6px; }
.rev .h { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.rev .who { font-weight: 700; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.rev p { margin: 0; color: #2A3346; overflow-wrap: anywhere; }
.rev .reply { background: var(--mist); border-radius: 12px; padding: 10px 12px; font-size: 14px; }
.rev .ft { display: flex; gap: 14px; font-size: 13px; color: var(--muted); align-items: center; }
.rev .ft button { background: none; border: 0; padding: 4px 0; color: var(--muted); font: 600 13px var(--font); cursor: pointer; }
.rev .ft button:hover { color: var(--ink); }
.rev .ft button.liked { color: var(--accent); }
.pf-foot { text-align: center; padding: 26px 20px 40px; color: var(--muted); font-size: 13px; }
.pf-foot a { font-weight: 800; color: var(--ink); }
.pf-sticky { position: sticky; bottom: 0; padding: 12px 20px max(12px, env(safe-area-inset-bottom)); background: linear-gradient(transparent, #fff 30%); display: none; }
@media (max-width: 560px) { .pf-sticky { display: block; } }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.9); z-index: 100; display: grid; place-items: center; padding: 16px; animation: fade .2s both; cursor: zoom-out; }
.lightbox img { max-height: 90vh; border-radius: 10px; }
.code-inputs { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 8px; }
.code-inputs input { text-align: center; font-size: 22px; font-weight: 800; padding: 10px 0; }
.star-pick { display: flex; gap: 6px; justify-content: center; margin: 6px 0 14px; }
.star-pick button { border: 0; background: none; padding: 2px; cursor: pointer; transition: transform .15s var(--ease); }
.star-pick button:hover { transform: scale(1.12); }
.star-pick svg { width: 38px; height: 38px; fill: #D5DAE3; transition: fill .15s; }
.star-pick button.on svg { fill: var(--gold); }
.notice-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; text-align: center; background: var(--mist); }
.notice-page .box { background: #fff; border-radius: 20px; padding: 32px 24px; max-width: 440px; box-shadow: var(--shadow); animation: pop .35s var(--ease) both; }
.prose { max-width: 760px; }
.prose h2 { font-size: 22px; margin-top: 28px; }
.prose p, .prose li { color: #2A3346; }

.username-field { display: flex; align-items: stretch; border: 1.5px solid var(--line); border-radius: 11px; overflow: hidden; background: #fff; transition: border-color .2s, box-shadow .2s; }
.username-field:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31,79,224,.14); }
.username-field .pre { flex: none; display: flex; align-items: center; padding: 0 4px 0 14px; color: var(--muted); font-size: 15px; white-space: nowrap; background: var(--mist); border-right: 1px solid var(--line); padding-right: 10px; }
.username-field .input { min-width: 0; flex: 1; border: 0; border-radius: 0; box-shadow: none !important; }
.field.has-error .username-field { border-color: var(--red); }
.u-status { font-size: 13px; min-height: 18px; }
.u-status.ok { color: var(--green); } .u-status.no { color: var(--red); }
.u-sugs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.u-sugs button { border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 4px 10px; font: 600 13px var(--font); cursor: pointer; color: var(--blue); }

/* ---------- Como funciona ---------- */
.how-hero-in { display: block !important; max-width: 820px; }
.how-hero h1 { font-size: clamp(32px, 5vw, 52px); }
.how-switch { display: inline-flex; gap: 6px; padding: 5px; background: #fff; border: 1px solid var(--line); border-radius: 99px; margin-top: 22px; }
.how-switch a { padding: 10px 18px; border-radius: 99px; font-weight: 700; color: var(--ink); text-decoration: none; transition: background .2s, color .2s; }
.how-switch a.on, .how-switch a:hover { background: var(--blue); color: #fff; }
.how-tabs { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.how-tabs .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-top: 8px; padding-bottom: 8px; }
.how-tabs .wrap::-webkit-scrollbar { display: none; }
.how-tabs a { flex: none; white-space: nowrap; padding: 8px 14px; border-radius: 99px; color: var(--muted); font-weight: 600; font-size: 14.5px; text-decoration: none; transition: background .2s, color .2s; }
.how-tabs a:hover, .how-tabs a.on { background: var(--blue-50); color: var(--blue); }
#profissional, #cartao-fisico, #agenda, #avaliacoes, #seguranca, #cliente, #duvidas { scroll-margin-top: 60px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.eyebrow.light { color: var(--gold); }
.timeline { list-style: none; margin: 0; padding: 0; counter-reset: t; max-width: 820px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--blue), var(--blue-50)); border-radius: 2px; }
.timeline > li { position: relative; padding: 0 0 28px 66px; }
.timeline > li:last-child { padding-bottom: 0; }
.timeline > li::before { counter-increment: t; content: counter(t); position: absolute; left: 0; top: -2px; width: 44px; height: 44px; border-radius: 13px; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 18px; box-shadow: 0 0 0 6px #fff; }
.band.mist .timeline > li::before { box-shadow: 0 0 0 6px var(--mist); }
.timeline h3 { margin: 6px 0 6px; }
.timeline p { margin: 0 0 8px; }
.ticks { list-style: none; padding: 0; margin: 6px 0 10px; display: grid; gap: 7px; }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 12px; height: 7px; border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(-45deg); }
.url-demo { display: inline-block; font: 600 16px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--mist); border: 1px dashed var(--line); padding: 10px 14px; border-radius: 10px; margin: 4px 0 10px; overflow-wrap: anywhere; }
.url-demo b { color: var(--blue); }
.idea-row { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; margin-top: 10px; }
.idea-row div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: grid; gap: 2px; transition: transform .25s var(--ease), box-shadow .25s; }
.idea-row div:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.idea-row span { color: var(--muted); font-size: 14px; }
.how-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.how-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; transition: transform .3s var(--ease), box-shadow .3s; }
.how-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.how-card p { color: var(--muted); margin: 0; }
.nums { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--muted); }
.nums b { color: var(--ink); }
.note { margin-top: 22px; padding: 14px 18px; border-left: 4px solid var(--gold); background: #FFF8EB; border-radius: 10px; color: var(--ink); max-width: 820px; }
@media (max-width: 860px) { .how-grid { grid-template-columns: minmax(0,1fr); } .idea-row { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 480px) { .timeline > li { padding-left: 58px; } .how-switch { display: flex; } .how-switch a { flex: 1; text-align: center; padding: 10px 8px; } }

/* ---------- Animação do topo (cartão lido pelo celular) ---------- */
  /* ===== Palco: tudo medido em cqw, então escala junto com a largura ===== */
  .ha-col { min-width:0; }
  .ha { container-type:inline-size; position:relative; width:100%; max-width:520px; margin:0 auto; aspect-ratio:1 / 1; }
  .ha * { will-change:transform, opacity; }

  /* Cartão: imagem do cartão de impressão (não muda com o ajuste de fonte do celular) */
  .ha-card { position:absolute; left:2cqw; top:40cqw; width:56cqw; aspect-ratio:85.6/53.98; border-radius:2.1cqw; overflow:visible;
    box-shadow:0 2.6cqw 6cqw rgba(12,12,15,.35); transform:translate(-8cqw, 6cqw) rotate(-14deg); opacity:0; transition:transform 1s var(--ease), opacity .8s var(--ease); z-index:1; }
  .ha-card img { display:block; width:100%; height:100%; border-radius:2.1cqw; }
  /* contorno verde sobre o QR do cartão (posição do QR na arte: 56,2% / 8,3%, 38,6% × 61,1%) */
  .ha .qr-ring { position:absolute; left:54.6%; top:5.8%; width:41.8%; height:66.1%; border-radius:2.4cqw; border:.55cqw solid var(--green); opacity:0; transform:scale(1.06); transition:opacity .3s, transform .4s var(--ease); }

  /* Celular */
  .ha-phone { position:absolute; left:52cqw; top:2cqw; transform-origin:50% 50%; width:43cqw; aspect-ratio:9/19; border-radius:6.6cqw; background:#0D111A; padding:1.5cqw; box-shadow:0 4cqw 10cqw rgba(11,18,32,.38), inset 0 0 0 .35cqw #2A3245;
    transform:translate(40cqw, 16cqw) rotate(16deg); opacity:0; transition:transform 1.1s var(--ease), opacity .6s var(--ease); z-index:3; }
  .ha-phone::before { content:""; position:absolute; top:2.6cqw; left:50%; width:11cqw; height:3.1cqw; transform:translateX(-50%); background:#0D111A; border-radius:3cqw; z-index:5; }
  .ha .screen { position:relative; width:100%; height:100%; border-radius:5.2cqw; overflow:hidden; background:#000; }
  .ha .layer { position:absolute; inset:0; transition:opacity .45s var(--ease); }

  /* Câmera */
  .ha .cam { background:#141418; display:grid; place-items:center; opacity:1; }
  .ha .cam .feed { position:absolute; inset:0; background:radial-gradient(40cqw 50cqw at 50% 55%, #26262D, #0E0E12 70%); }
  .ha .cam .seen { position:relative; width:26cqw; aspect-ratio:1; background:#fff; border-radius:1.6cqw; padding:.8cqw; filter:blur(.9cqw); transform:scale(.9); transition:filter .6s, transform .8s var(--ease); box-shadow:0 0 0 6cqw rgba(12,12,15,.85); }
  .ha .cam .seen svg { display:block; width:100%; height:100%; }
  .ha .cam .frame { position:absolute; width:31cqw; aspect-ratio:1; left:50%; top:50%; transform:translate(-50%,-50%); }
  .ha .cam .frame i { position:absolute; width:6cqw; height:6cqw; border:.7cqw solid #fff; transition:border-color .25s, transform .4s var(--ease); }
  .ha .cam .frame i:nth-child(1) { left:0; top:0; border-right:0; border-bottom:0; border-top-left-radius:2cqw; }
  .ha .cam .frame i:nth-child(2) { right:0; top:0; border-left:0; border-bottom:0; border-top-right-radius:2cqw; }
  .ha .cam .frame i:nth-child(3) { left:0; bottom:0; border-right:0; border-top:0; border-bottom-left-radius:2cqw; }
  .ha .cam .frame i:nth-child(4) { right:0; bottom:0; border-left:0; border-top:0; border-bottom-right-radius:2cqw; }
  .ha .cam .scan { position:absolute; left:2cqw; right:2cqw; height:.5cqw; top:4%; background:linear-gradient(90deg, transparent, #7FA3FF, transparent); box-shadow:0 0 3cqw #4F7BFF; opacity:0; }
  .ha .cam .hint { position:absolute; top:12cqw; left:2cqw; right:2cqw; text-align:center; color:#fff; font-size:2.4cqw; white-space:nowrap; overflow:hidden; font-weight:600; opacity:.85; }
  .ha .cam .pill { position:absolute; left:2.6cqw; right:2.6cqw; bottom:7cqw; background:#fff; border-radius:2.6cqw; padding:2.2cqw 2.4cqw; display:flex; align-items:center; gap:1.8cqw; font-size:2.3cqw; font-weight:700; white-space:nowrap; overflow:hidden; transform:translateY(8cqw); opacity:0; transition:transform .5s var(--ease), opacity .4s; }
  .ha .cam .pill i { width:5cqw; height:5cqw; border-radius:1.4cqw; background:var(--blue); flex:none; display:grid; place-items:center; color:#fff; font-style:normal; font-size:2.8cqw; }
  .ha .cam .pill small { display:block; font-weight:500; color:var(--muted); font-size:2.2cqw; }
  .ha .tap { position:absolute; width:7cqw; height:7cqw; border-radius:50%; left:50%; bottom:7.6cqw; margin-left:-3.5cqw; background:rgba(255,255,255,.55); box-shadow:0 0 0 0 rgba(255,255,255,.5); opacity:0; }

  /* Navegador + perfil fictício */
  .ha .web { background:#fff; opacity:0; }
  .ha .web .url { position:absolute; top:7.4cqw; left:2.6cqw; right:2.6cqw; height:5cqw; border-radius:2.5cqw; background:var(--mist); display:flex; align-items:center; justify-content:center; padding:0 1.6cqw; font-size:1.85cqw; font-weight:600; color:var(--muted); z-index:2; white-space:nowrap; overflow:hidden; }
  .ha .web .url b { color:var(--night); }
  .ha .web .progress { position:absolute; top:13.4cqw; left:0; height:.45cqw; width:0; background:var(--blue); z-index:2; transition:width .9s var(--ease), opacity .3s .9s; }
  .ha .web .body { position:absolute; top:14.4cqw; left:0; right:0; bottom:0; overflow:hidden; }
  .ha .web .scroller { transition:transform 1.6s var(--ease); }
  .ha .cover { height:13cqw; background:linear-gradient(135deg, #1F4FE0, #4F7BFF); }
  .ha .pf { padding:0 3.4cqw 3cqw; text-align:center; }
  .ha .avatar { width:15cqw; height:15cqw; border-radius:50%; margin:-7.5cqw auto 1.6cqw; background:#EAF0FF; border:.9cqw solid #fff; display:grid; place-items:center; font-weight:800; font-size:5cqw; color:var(--blue); }
  .ha .pf h3 { margin:0; font-size:3.6cqw; line-height:1.15; white-space:nowrap; }
  .ha .pf .role { color:var(--muted); font-size:2.3cqw; margin-top:.4cqw; white-space:nowrap; }
  .ha .stars { color:var(--gold); font-size:2.9cqw; letter-spacing:.1em; margin-top:1.2cqw; }
  .ha .stars span { color:var(--muted); font-size:2.2cqw; letter-spacing:0; font-weight:600; }
  .ha .mainbtn { margin-top:2.2cqw; background:var(--blue); color:#fff; border-radius:2.4cqw; padding:2.4cqw; font-weight:800; font-size:2.7cqw; }
  .ha .row3 { display:grid; grid-template-columns:repeat(3,1fr); gap:1.4cqw; margin-top:1.4cqw; }
  .ha .row3 div { background:var(--mist); border-radius:2.2cqw; padding:2cqw 0; font-size:2cqw; font-weight:700; white-space:nowrap; }
  .ha .row3 div:first-child { color:#0E8A45; }
  .ha .sec { text-align:left; margin-top:3cqw; font-weight:800; font-size:2.7cqw; }
  .ha .svc { display:flex; justify-content:space-between; gap:1.6cqw; text-align:left; font-size:2.2cqw; padding:1.5cqw 0; border-bottom:.2cqw solid var(--line); white-space:nowrap; }
  .ha .svc span { overflow:hidden; text-overflow:ellipsis; }
  .ha .svc b { white-space:nowrap; }
  .ha .rev { text-align:left; margin-top:1.6cqw; background:var(--mist); border-radius:2.2cqw; padding:2.2cqw; font-size:2.1cqw; line-height:1.35; }
  .ha .rev strong { display:flex; justify-content:space-between; font-size:2.5cqw; }
  .ha .rev strong span { color:var(--gold); }
  /* Esqueleto antes de carregar */
  .ha .reveal-i { opacity:0; transform:translateY(2cqw); transition:opacity .5s var(--ease), transform .6s var(--ease); }
  .ha .loaded .reveal-i { opacity:1; transform:none; }
  .ha .loaded .reveal-i:nth-child(2) { transition-delay:.06s } .ha .loaded .reveal-i:nth-child(3) { transition-delay:.12s } .ha .loaded .reveal-i:nth-child(4) { transition-delay:.18s }
  .ha .loaded .reveal-i:nth-child(5) { transition-delay:.24s } .ha .loaded .reveal-i:nth-child(6) { transition-delay:.3s } .ha .loaded .reveal-i:nth-child(7) { transition-delay:.36s } .ha .loaded .reveal-i:nth-child(8) { transition-delay:.42s }

  /* ===== Estados da sequência ===== */
  .ha.s-card .ha-card { opacity:1; transform:rotate(-6deg); }
  .ha.s-phone .ha-phone { opacity:1; transform:translate(-14cqw, 9cqw) rotate(-6deg); }
  .ha.s-scan .cam .seen { filter:none; transform:scale(1); }
  .ha.s-scan .cam .scan { opacity:1; animation:ha-scan 1.1s ease-in-out infinite alternate; }
  .ha.s-found .cam .scan { opacity:0; animation:none; }
  .ha.s-found .cam .frame i { border-color:#34D27B; transform:scale(.92); }
  .ha.s-found .qr-ring { opacity:1; transform:none; }
  .ha.s-found .cam .pill { transform:none; opacity:1; }
  .ha.s-tap .tap { animation:ha-tap .6s ease-out forwards; }
  .ha.s-open .ha-card { transform:translate(-1cqw, 10cqw) rotate(-6deg); }
  .ha.s-open .qr-ring { opacity:0; }
  .ha.s-open .ha-phone { transform:none; }
  .ha.s-open .cam { opacity:0; }
  .ha.s-open .web { opacity:1; }
  .ha.s-open .web .progress { width:100%; opacity:0; }
  .ha.s-scroll .web .scroller { transform:translateY(-46cqw); }
  .ha.s-out .ha-card, .ha.s-out .ha-phone { opacity:0; transition-duration:.7s; }
  @keyframes ha-scan { from { top:6%; } to { top:92%; } }
  @keyframes ha-tap { 0% { opacity:0; transform:scale(.4); } 30% { opacity:1; transform:scale(1); box-shadow:0 0 0 0 rgba(255,255,255,.5); } 100% { opacity:0; transform:scale(1.1); box-shadow:0 0 0 5cqw rgba(255,255,255,0); } }

  /* Sem movimento: mostra o resultado final, parado. */
  @media (prefers-reduced-motion: reduce) {.ha *, .ha { transition:none !important; animation:none !important; }
  }

  .ha-sound { display:flex; justify-content:center; margin-top:8px; }
  .ha-sound button { font:600 13px var(--font); border:1px solid var(--line); background:#fff; color:var(--muted); border-radius:99px; padding:6px 12px; cursor:pointer; }
  .ha-sound button[aria-pressed="true"] { color:var(--blue); border-color:#C9D7FF; background:#F4F7FF; }

/* ---------- Vitrine do cartão (página inicial) ---------- */
.cardshow { background: radial-gradient(900px 500px at 15% 30%, #23232B, transparent 60%), linear-gradient(180deg, #0C0C0F, #121218); color: #E9E9EE; overflow: hidden; }
.cardshow h2 { color: #fff; font-size: clamp(28px, 3.6vw, 42px); line-height: 1.12; margin: 6px 0 14px; }
.cardshow-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.lead-d { color: #B9BCC8; font-size: 18px; max-width: 52ch; }
.lux { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 12px; }
.lux li { position: relative; padding-left: 30px; color: #C9CBD5; }
.lux li b { color: #fff; }
.lux li::before { content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #F3D79A, #C9A04E); box-shadow: 0 0 0 4px rgba(214,175,98,.14); }
.price-tag { color: #C9CBD5; font-size: 15px; align-self: center; }
.price-tag b { color: #F3D79A; font-size: 18px; }
.flip-col { display: grid; justify-items: center; gap: 12px; }
.flip { position: relative; width: min(100%, 520px); aspect-ratio: 85.6 / 53.98; perspective: 1400px; cursor: pointer; outline: none; --rx: 0deg; --ry: 0deg; }
.flip-in { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .9s var(--ease); transform: rotateX(var(--rx)) rotateY(calc(var(--ry) + var(--flip, 0deg))); }
.flip.back { --flip: 180deg; }
.flip .flip-f, .flip .flip-b { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 3.7% / 5.9%; backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.06); }
.flip .flip-f img { display: block; width: 100%; height: 100%; border-radius: inherit; }
.flip .flip-b { transform: rotateY(180deg); }
.flip-shine { position: absolute; inset: 0; border-radius: 3.7% / 5.9%; pointer-events: none; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.14) 45%, transparent 60%); background-size: 250% 100%; animation: shine 5.5s ease-in-out infinite; mix-blend-mode: screen; }
.flip.back .flip-shine { opacity: 0; }
.flip:focus-visible { box-shadow: 0 0 0 3px var(--gold); border-radius: 14px; }
.flip-hint { font-size: 13px; color: #8F93A3; margin: 0; }
@keyframes shine { 0%, 55% { background-position: 150% 0; } 85%, 100% { background-position: -60% 0; } }

/* ---------- Vitrine do perfil no celular ---------- */
.phoneshow-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.feature-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pm-col { min-width: 0; }
.pm { container-type: inline-size; position: relative; width: 100%; max-width: 440px; margin: 0 auto; aspect-ratio: 1 / 1.45; }
.pm-phone { position: absolute; left: 50%; top: 2cqw; width: 62cqw; aspect-ratio: 9 / 19; transform: translateX(-50%) rotate(-3deg); border-radius: 9.5cqw; background: #0D111A; padding: 2.2cqw; box-shadow: 0 6cqw 14cqw rgba(11,18,32,.32), inset 0 0 0 .5cqw #2A3245; }
.pm-phone::before { content: ""; position: absolute; top: 3.8cqw; left: 50%; width: 16cqw; height: 4.4cqw; transform: translateX(-50%); background: #0D111A; border-radius: 4cqw; z-index: 3; }
.pm-screen { position: relative; width: 100%; height: 100%; border-radius: 7.6cqw; overflow: hidden; background: #fff; }
.pm-url { position: absolute; top: 10.4cqw; left: 3.4cqw; right: 3.4cqw; z-index: 2; height: 7cqw; border-radius: 3.5cqw; background: rgba(243,245,249,.96); display: flex; align-items: center; justify-content: center; font-size: 2.6cqw; font-weight: 600; color: var(--muted); white-space: nowrap; overflow: hidden; }
.pm-url b { color: var(--night); }
.pm-scroll { position: absolute; inset: 0; animation: pmscroll 16s ease-in-out infinite; }
.pm-cover { height: 30cqw; background: linear-gradient(135deg, #1F4FE0, #4F7BFF); }
.pm-body { padding: 0 5cqw 6cqw; text-align: center; }
.pm-av { width: 20cqw; height: 20cqw; margin: -10cqw auto 2cqw; border-radius: 50%; border: 1.2cqw solid #fff; background: #EAF0FF; color: var(--blue); display: grid; place-items: center; font-weight: 800; font-size: 6.6cqw; }
.pm-name { font-weight: 800; font-size: 5.2cqw; white-space: nowrap; }
.pm-ok { display: inline-grid; place-items: center; width: 4.4cqw; height: 4.4cqw; border-radius: 50%; background: var(--blue); color: #fff; font-size: 2.6cqw; vertical-align: .3cqw; }
.pm-role { color: var(--muted); font-size: 3.3cqw; white-space: nowrap; }
.pm-stars { color: var(--gold); font-size: 4cqw; margin-top: 1.4cqw; }
.pm-stars span { color: var(--muted); font-size: 3cqw; font-weight: 600; }
.pm-btn { margin-top: 3cqw; background: var(--blue); color: #fff; border-radius: 3.4cqw; padding: 3.2cqw; font-weight: 800; font-size: 3.7cqw; }
.pm-btn.o { background: #fff; color: var(--blue); border: .5cqw solid var(--blue); }
.pm-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqw; margin-top: 2cqw; }
.pm-row span { background: var(--mist); border-radius: 3cqw; padding: 2.8cqw 0; font-weight: 700; font-size: 2.9cqw; white-space: nowrap; }
.pm-row .g { color: #0E8A45; }
.pm-sec { text-align: left; font-weight: 800; font-size: 3.7cqw; margin: 5cqw 0 1cqw; }
.pm-svc { display: flex; justify-content: space-between; gap: 2cqw; font-size: 3.2cqw; padding: 2.2cqw 0; border-bottom: .3cqw solid var(--line); white-space: nowrap; }
.pm-gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6cqw; }
.pm-gal i { aspect-ratio: 1; border-radius: 2.4cqw; background: linear-gradient(135deg, #DCE6FF, #B9CCFF); }
.pm-gal i:nth-child(2) { background: linear-gradient(135deg, #FFE7B8, #F5C46A); }
.pm-gal i:nth-child(3) { background: linear-gradient(135deg, #CFF2DE, #8ED9B0); }
.pm-rev { text-align: left; background: var(--mist); border-radius: 3cqw; padding: 3cqw; font-size: 3cqw; line-height: 1.4; margin-top: 2cqw; }
.pm-rev span { color: var(--gold); }
@keyframes pmscroll { 0%, 14% { transform: translateY(0); } 42%, 56% { transform: translateY(-58cqw); } 80%, 90% { transform: translateY(-112cqw); } 100% { transform: translateY(0); } }
.chip { position: absolute; display: flex; align-items: center; gap: 2cqw; background: #fff; border-radius: 99px; padding: 2.2cqw 3.6cqw 2.2cqw 2.2cqw; font-weight: 700; font-size: 3.3cqw; white-space: nowrap; box-shadow: 0 3cqw 8cqw rgba(11,18,32,.16), 0 0 0 1px var(--line); animation: floaty 6s ease-in-out infinite; z-index: 4; }
.chip i { width: 6.6cqw; height: 6.6cqw; border-radius: 50%; display: grid; place-items: center; font-style: normal; background: var(--blue); color: #fff; font-size: 3.4cqw; }
.chip i.w { background: #25D366; } .chip i.y { background: var(--gold); color: var(--night); } .chip i.g { background: var(--green); }
.chip.c1 { left: 0; top: 30cqw; } .chip.c2 { right: 0; top: 58cqw; animation-delay: -1.5s; }
.chip.c3 { left: 2cqw; top: 92cqw; animation-delay: -3s; } .chip.c4 { right: 2cqw; top: 122cqw; animation-delay: -4.5s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2.4cqw); } }
@media (max-width: 860px) {
  .cardshow-in, .phoneshow-in { grid-template-columns: minmax(0, 1fr); }
  .feature-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) { .feature-grid.two { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .pm-scroll, .chip, .flip-shine { animation: none !important; } }

/* ---------- Painel: pedido de cartão ---------- */
.card-types { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; margin: 6px 0 14px; }
.ctype { display: flex; gap: 10px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 14px; padding: 14px; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.ctype:has(input:checked) { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31,79,224,.12); }
.ctype input { margin-top: 3px; accent-color: var(--blue); }
.ctype span { display: grid; gap: 2px; }
.ctype small { color: var(--muted); font-size: 13.5px; }
.ctype em { font-style: normal; font-weight: 800; color: var(--blue); margin-top: 4px; }
.mini-card { position: relative; width: min(100%, 320px); aspect-ratio: 85.6 / 53.98; border-radius: 14px; margin: 4px 0 16px; padding: 16px; color: #fff; background: radial-gradient(300px 200px at 100% 0%, #1D1D24, #0C0C0F 60%); box-shadow: 0 14px 30px rgba(12,12,15,.3); overflow: hidden; }
.mini-card .mc-brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; }
.mini-card .mc-brand i { width: 24px; height: 24px; border-radius: 7px; background: #D6AF62; color: #0C0C0F; display: grid; place-items: center; font-style: normal; font-size: 14px; }
.mini-card .mc-brand b { color: #D6AF62; }
.mini-card .mc-name { position: absolute; left: 16px; bottom: 16px; font-weight: 700; font-size: 13px; letter-spacing: .18em; white-space: nowrap; max-width: 58%; overflow: hidden; text-overflow: ellipsis; }
.mini-card .mc-qr { position: absolute; right: 14px; top: 14px; width: 38%; aspect-ratio: 1; background: #fff; border-radius: 8px; padding: 3px; }
.mini-card .mc-qr svg { display: block; width: 100%; height: 100%; }

.hero { overflow-x: clip; }
.pm-screen::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 19.5cqw; background: #fff; z-index: 1; box-shadow: 0 1px 0 var(--line); }
.pm-scroll { top: 19.5cqw; }
@media (max-width: 860px) { .hero .ha-col { order: -1; } }

/* QR de demonstração por cima da arte do cartão: leva para o cadastro deste site */
.demo-qr { position: absolute; left: 56.19%; top: 8.34%; width: 38.55%; height: 61.13%; background: #fff; border-radius: 4.1% / 6.5%; padding: .6%; display: grid; place-items: center; overflow: hidden; }
.demo-qr:empty { display: none; }
.demo-qr svg { display: block; width: 100%; height: 100%; }
