:root {
  --ink: #20183a;
  --muted: #6f6883;
  --paper: #ffffff;
  --surface: #f7f5fb;
  --line: #e7e2f0;
  --purple: #6426d9;
  --purple-dark: #45149f;
  --purple-soft: #eee7ff;
  --coral: #ff5d73;
  --cyan: #24c5d9;
  --lime: #a3e635;
  --yellow: #ffd166;
  --success: #138a5b;
  --danger: #c92a45;
  --shadow-sm: 0 8px 22px rgba(46, 29, 82, .08);
  --shadow-lg: 0 24px 70px rgba(52, 28, 100, .16);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 30px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--surface); font-family: "Inter", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
body::selection { background: #d8c8ff; color: #2b0a70; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; display: block; }
main { min-height: 72vh; }

.site-header { height: 74px; padding: 0 clamp(18px, 4vw, 64px); display: flex; align-items: center; justify-content: space-between; gap: 24px; position: sticky; top: 0; z-index: 80; background: rgba(255,255,255,.9); border-bottom: 1px solid rgba(231,226,240,.9); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; text-decoration: none; letter-spacing: -.5px; }
.brand-mark { width: 36px; height: 36px; border-radius: 12px; display: inline-grid; place-items: center; color: white; font-weight: 800; background: var(--purple); box-shadow: 6px 7px 0 #d9cdff; }
.site-nav { display: flex; align-items: center; gap: clamp(12px,1.55vw,26px); }
.site-nav > a, .nav-link-button { text-decoration: none; color: #514967; font-size: 14px; font-weight: 650; transition: color .2s ease; }
.site-nav > a:hover, .nav-link-button:hover { color: var(--purple); }
.nav-form { margin: 0; }
.nav-link-button { border: 0; background: none; padding: 0; cursor: pointer; }
.menu-button { display: none; border: 0; background: var(--purple-soft); color: var(--purple); border-radius: 10px; width: 42px; height: 42px; font-size: 21px; cursor: pointer; }
.user-avatar { width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; overflow: hidden; position: relative; color: #fff; background: linear-gradient(135deg,var(--purple),#9b6ef3); border-radius: 50%; box-shadow: 0 0 0 3px #eee7ff; font-size: 13px; font-weight: 850; }
.user-avatar > span { position: relative; z-index: 0; }
.user-avatar img { width: 100%; height: 100%; position: absolute; inset: 0; z-index: 1; object-fit: cover; }
.user-avatar-header { width: 36px; height: 36px; flex-basis: 36px; box-shadow: 0 0 0 2px #e9e1f8; }
.user-avatar-large { width: 48px; height: 48px; flex-basis: 48px; box-shadow: 0 0 0 3px #eee7ff; }
.account-menu { position: relative; }
.account-menu > summary { min-height: 48px; padding: 5px 9px 5px 5px; display: flex; align-items: center; gap: 9px; list-style: none; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; user-select: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
.account-menu > summary::-webkit-details-marker { display: none; }
.account-menu > summary:hover, .account-menu[open] > summary { border-color: #cdbcf4; box-shadow: 0 8px 20px rgba(67,39,118,.12); transform: translateY(-1px); }
.account-summary-copy { min-width: 72px; display: grid; gap: 1px; line-height: 1.15; }
.account-summary-copy strong { max-width: 105px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.account-summary-copy small { color: var(--muted); font-size: 9px; }
.account-chevron { color: var(--muted); font-size: 15px; transform-origin: center; transition: transform .2s; }
.account-menu[open] .account-chevron { transform: rotate(180deg); }
.account-dropdown { width: min(310px,calc(100vw - 28px)); max-height: calc(100vh - 96px); padding: 12px; display: grid; gap: 7px; overflow-y: auto; position: absolute; right: 0; top: calc(100% + 10px); z-index: 100; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); }
.account-dropdown-profile { min-width: 0; padding: 5px 5px 12px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); }
.account-dropdown-profile > div { min-width: 0; display: grid; gap: 3px; }
.account-dropdown-profile strong, .account-dropdown-profile small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-dropdown-profile strong { font-size: 13px; }
.account-dropdown-profile small { color: var(--muted); font-size: 10px; }
.account-google-note { width: fit-content; margin: 2px 5px; padding: 5px 8px; color: #17613f; background: #dcf6e9; border-radius: 999px; font-size: 9px; font-weight: 800; }
.account-dropdown > a, .account-logout { width: 100%; min-height: 40px; padding: 10px; display: flex; align-items: center; color: #4d4261; background: transparent; border: 0; border-radius: 9px; text-align: left; text-decoration: none; font-size: 12px; font-weight: 750; cursor: pointer; }
.account-dropdown > a:hover, .account-logout:hover { color: var(--purple); background: var(--purple-soft); }
.account-logout { color: var(--danger); }
.share-menu { position: relative; }
.share-menu > summary { min-height: 38px; padding: 8px 11px; display: inline-flex; align-items: center; gap: 6px; list-style: none; color: #514967; background: transparent; border: 1px solid transparent; border-radius: 10px; cursor: pointer; font-size: 13px; font-weight: 750; transition: color .2s, background .2s, border-color .2s; }
.share-menu > summary::-webkit-details-marker { display: none; }
.share-menu > summary:hover, .share-menu[open] > summary { color: var(--purple); background: var(--purple-soft); border-color: #ded0ff; }
.share-menu > summary span { font-size: 17px; line-height: 1; }
.share-dropdown { width: min(370px,calc(100vw - 28px)); padding: 17px; display: grid; gap: 7px; position: absolute; right: 0; top: calc(100% + 12px); z-index: 100; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); }
.share-dropdown > strong { font-family: "Poppins",sans-serif; font-size: 15px; }
.share-dropdown > small { margin-bottom: 7px; color: var(--muted); font-size: 10px; }
.share-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; }
.share-option { min-height: 70px; padding: 9px 5px; display: grid; place-items: center; align-content: center; gap: 6px; color: #4f4661; background: #faf9fc; border: 1px solid var(--line); border-radius: 11px; text-decoration: none; text-align: center; font-size: 9px; font-weight: 800; transition: transform .2s, border-color .2s, background .2s; }
.share-option:hover { transform: translateY(-2px); border-color: #cbb8f4; background: #f6f1ff; }
.share-option span { width: 28px; height: 28px; display: grid; place-items: center; color: #fff; background: #62556f; border-radius: 8px; font-size: 11px; font-weight: 900; }
.share-option.whatsapp span { background: #18a957; }
.share-option.facebook span { background: #1877f2; }
.share-option.instagram span { background: linear-gradient(135deg,#833ab4,#fd1d1d,#fcb045); }
.share-option.x-social span { background: #111; }
.share-option.linkedin span { background: #0a66c2; }
.share-option.telegram span { background: #229ed9; }
.share-wide { width: 100%; min-height: 39px; padding: 9px 12px; color: var(--purple); background: #f4efff; border: 1px solid #dfd1ff; border-radius: 10px; cursor: pointer; font-size: 10px; font-weight: 800; }
.share-wide:hover { background: #ebe1ff; }
.share-copy { color: #4b425d; background: #fff; border-color: var(--line); }
.share-feedback { min-height: 14px; color: var(--success); text-align: center; font-size: 9px; font-weight: 800; }
.account-share-menu { width: 100%; }
.account-dropdown .account-share-menu > summary { width: 100%; min-height: 40px; padding: 10px; display: flex; color: #4d4261; background: transparent; border: 0; border-radius: 9px; font-size: 12px; font-weight: 750; }
.account-dropdown .account-share-menu > summary:hover, .account-dropdown .account-share-menu[open] > summary { color: var(--purple); background: var(--purple-soft); }
.account-dropdown .account-share-menu > summary::after { content: "+"; margin-left: auto; color: var(--muted); font-size: 16px; line-height: 1; }
.account-dropdown .account-share-menu[open] > summary::after { content: "−"; }
.account-dropdown .account-share-menu .share-dropdown { width: 100%; margin: 5px 0 2px; padding: 12px; position: static; background: #fbfaff; border-radius: 12px; box-shadow: none; }
.account-dropdown .account-share-menu .share-dropdown > strong { font-size: 13px; }
.account-dropdown .account-share-menu .share-option { min-height: 64px; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 11px 18px; border: 1px solid transparent; border-radius: 12px; text-decoration: none; font-weight: 750; font-size: 14px; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff !important; background: var(--purple); box-shadow: 0 10px 24px rgba(100, 38, 217, .25); }
.button-primary:hover { background: var(--purple-dark); box-shadow: 0 14px 28px rgba(100,38,217,.32); }
.button-soft { color: var(--purple); background: var(--purple-soft); border-color: #dacdff; }
.button-soft:hover { background: #e3d8ff; }
.button-ghost { color: var(--ink); background: #fff; border-color: var(--line); }
.button-white { color: var(--purple); background: #fff; box-shadow: var(--shadow-sm); }
.button-danger { color: #fff; background: var(--danger); }
.button-large { min-height: 52px; padding: 14px 23px; font-size: 15px; border-radius: 14px; }
.button-small { min-height: 36px; padding: 8px 12px; font-size: 12px; border-radius: 9px; }
.button-full { width: 100%; }
.text-link { color: var(--purple); text-decoration: none; font-weight: 750; }
.text-button { border: 0; background: none; padding: 4px; cursor: pointer; font-weight: 650; }
.danger-text { color: var(--danger) !important; }

.flash-stack { position: fixed; top: 90px; right: 20px; z-index: 200; display: grid; gap: 10px; width: min(420px, calc(100vw - 40px)); }
.flash { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 15px 17px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); font-size: 14px; line-height: 1.45; }
.flash-success { border-left: 5px solid #22a06b; }
.flash-error { border-left: 5px solid var(--danger); }
.flash-info { border-left: 5px solid var(--cyan); }
.flash button { border: 0; background: none; color: var(--muted); font-size: 20px; cursor: pointer; line-height: 1; }

.eyebrow { display: inline-flex; align-items: center; gap: 7px; color: var(--purple); text-transform: uppercase; letter-spacing: 1.5px; font-size: 11px; font-weight: 800; }
.eyebrow::before { content: ""; width: 20px; height: 3px; border-radius: 3px; background: var(--coral); }
.eyebrow.light { color: #efe8ff; }
.eyebrow.light::before { background: var(--yellow); }

.hero { min-height: 700px; padding: 76px clamp(20px, 6vw, 90px) 92px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, .78fr); align-items: center; gap: clamp(40px, 7vw, 110px); overflow: hidden; position: relative; background: radial-gradient(circle at 7% 15%, #eee5ff 0 17%, transparent 40%), #fcfbff; }
.hero::after { content: ""; position: absolute; right: -160px; top: -100px; width: 520px; height: 520px; border-radius: 50%; background: #f5d0fe; opacity: .38; }
.hero-copy { max-width: 760px; position: relative; z-index: 2; }
.hero h1 { font-family: "Poppins", sans-serif; font-size: clamp(43px, 5.5vw, 76px); line-height: 1.05; letter-spacing: -3.8px; margin: 18px 0 22px; }
.hero h1 span, .page-hero h1 span { color: var(--purple); position: relative; }
.hero h1 span::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 8px; background: var(--yellow); z-index: -1; transform: rotate(-1deg); border-radius: 10px; }
.hero-copy > p { max-width: 650px; margin: 0; color: var(--muted); font-size: clamp(17px, 1.5vw, 21px); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 24px; color: #5a526d; font-size: 13px; font-weight: 650; }
.hero-preview { width: min(100%, 470px); justify-self: center; position: relative; z-index: 2; transform: rotate(2deg); }
.hero-preview .mini-shell { height: 510px; border-radius: 22px; box-shadow: 28px 34px 0 rgba(100,38,217,.13), var(--shadow-lg); }
.hero-preview .mini-shell { --mini-scale: .505; }
.floating-note { position: absolute; z-index: 5; padding: 12px 15px; border-radius: 12px; font-size: 13px; font-weight: 800; box-shadow: var(--shadow-sm); }
.note-one { left: -38px; top: 80px; color: #77243a; background: #ffd7df; transform: rotate(-6deg); }
.note-two { right: -28px; bottom: 82px; color: #155b62; background: #c9f6f8; transform: rotate(4deg); }

.logo-strip { min-height: 78px; padding: 16px clamp(20px, 5vw, 70px); display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px; background: #27144c; }
.logo-strip span { color: #e5dcf8; border: 1px solid rgba(255,255,255,.15); padding: 8px 12px; border-radius: 999px; font-size: 12px; font-weight: 650; }

.section { padding: 86px clamp(20px, 6vw, 90px); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; max-width: 1400px; margin: 0 auto 34px; }
.section-heading h2 { font-family: "Poppins", sans-serif; font-size: clamp(30px, 3.6vw, 49px); letter-spacing: -2px; line-height: 1.1; margin: 10px 0 0; }
.section-heading.centered { text-align: center; justify-content: center; }
.template-grid { max-width: 1400px; margin: auto; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.template-card { min-width: 0; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.template-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-preview { height: 510px; overflow: hidden; position: relative; background: #eae6f0; border-bottom: 1px solid var(--line); }
.card-preview .mini-shell { --mini-scale: .45; }
.template-badge { position: absolute; left: 12px; top: 12px; z-index: 4; color: #fff; background: #24173c; border-radius: 999px; padding: 7px 10px; font-size: 10px; font-weight: 800; box-shadow: var(--shadow-sm); }
.template-card-body { flex: 1; padding: 18px; display: flex; flex-direction: column; gap: 16px; }
.template-card-body > div { flex: 1; min-width: 0; }
.template-card-body h3 { margin: 3px 0 6px; font-size: 17px; letter-spacing: -.3px; }
.template-card-body p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; min-height: 38px; }
.template-card-body .button { width: 100%; }
.template-card-body .button-soft { border: 1px solid currentColor; }
.card-category { color: var(--purple); font-size: 10px; text-transform: uppercase; letter-spacing: 1px; font-weight: 800; }

.auto-fill-section { padding-top: 20px; }
.auto-fill-card { max-width: 1400px; margin: auto; padding: clamp(30px, 5vw, 64px); display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; color: #fff; background: #5422b7; border-radius: 34px; box-shadow: var(--shadow-lg); overflow: hidden; position: relative; }
.auto-fill-card::after { content: ""; width: 300px; height: 300px; border-radius: 50%; position: absolute; right: -130px; top: -150px; background: var(--coral); opacity: .3; }
.auto-fill-card h2 { font-family: "Poppins"; font-size: clamp(30px, 4vw, 51px); line-height: 1.08; letter-spacing: -2.2px; margin: 13px 0; }
.auto-fill-card p { color: #ded4f5; line-height: 1.65; margin: 0; }
.preset-cloud { display: flex; flex-wrap: wrap; gap: 10px; position: relative; z-index: 2; }
.preset-cloud a { text-decoration: none; color: #382064; background: #fff; padding: 11px 14px; border-radius: 999px; font-size: 12px; font-weight: 750; transition: transform .2s ease, background .2s ease; }
.preset-cloud a:nth-child(3n+1) { background: #ffe0e6; }
.preset-cloud a:nth-child(3n+2) { background: #d5fafb; }
.preset-cloud a:nth-child(3n+3) { background: #fff0bd; }
.preset-cloud a:hover { transform: translateY(-3px) rotate(-1deg); }

.features-section { background: #fff; }
.feature-grid { max-width: 1200px; margin: auto; display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.feature-grid article { padding: 28px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fcfbff; }
.feature-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; color: #fff; background: var(--purple); font-size: 12px; font-weight: 850; box-shadow: 5px 6px 0 #ded3f8; }
.feature-grid article:nth-child(2) .feature-icon { background: var(--coral); box-shadow-color: #ffd3da; }
.feature-grid article:nth-child(3) .feature-icon { background: #0f8f9b; box-shadow-color: #c1eff2; }
.feature-grid article:nth-child(4) .feature-icon { color: #4c3b04; background: var(--yellow); box-shadow-color: #f4e8b5; }
.feature-grid h3 { font-size: 17px; margin: 22px 0 8px; }
.feature-grid p { color: var(--muted); font-size: 13px; line-height: 1.6; margin: 0; }

.pricing-card { max-width: 1120px; margin: auto; padding: clamp(32px,5vw,65px); color: #fff; background: #20113f; border-radius: 34px; display: flex; justify-content: space-between; align-items: center; gap: 50px; position: relative; overflow: hidden; }
.pricing-card::after { content: "W"; position: absolute; right: 32%; bottom: -90px; color: rgba(255,255,255,.035); font-size: 340px; line-height: 1; font-weight: 900; }
.pricing-card > div { position: relative; z-index: 2; }
.pricing-card h2 { font-family: "Poppins"; font-size: clamp(31px, 4vw, 48px); margin: 12px 0 10px; }
.pricing-card p { max-width: 560px; color: #cfc5e1; line-height: 1.65; }
.price-block { min-width: 220px; text-align: center; display: grid; gap: 9px; }
.price-block span { color: #bdb1d0; font-size: 12px; }
.price-block strong { color: var(--yellow); font-size: 42px; letter-spacing: -2px; }

.page-hero { text-align: center; background: #fff; }
.compact-hero { padding: 65px 20px 55px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-family: "Poppins"; font-size: clamp(36px,5vw,59px); letter-spacing: -2.5px; line-height: 1.1; margin: 14px 0 12px; }
.page-hero p { color: var(--muted); margin: 0 auto; max-width: 700px; line-height: 1.6; }
.filter-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.filter-button { border: 1px solid var(--line); background: #fff; color: var(--muted); padding: 9px 13px; border-radius: 999px; cursor: pointer; font-size: 12px; font-weight: 700; }
.filter-button.active { color: #fff; background: var(--purple); border-color: var(--purple); }
.gallery-section { padding-top: 48px; }
.gallery-section .template-card[hidden] { display: none; }

.site-footer { min-height: 190px; padding: 42px clamp(20px,6vw,90px); display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; color: #bdb4cd; background: #190e31; }
.footer-brand { color: #fff; }
.site-footer p { max-width: 480px; font-size: 13px; line-height: 1.6; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: #d6cfdf; text-decoration: none; font-size: 13px; }
.site-footer small { grid-column: 1/-1; border-top: 1px solid rgba(255,255,255,.08); padding-top: 18px; }

/* Autenticação */
.auth-page { background: #f5f1ff; }
.auth-shell { min-height: calc(100vh - 74px); display: grid; grid-template-columns: minmax(320px,.85fr) minmax(480px,1.15fr); }
.auth-aside { padding: clamp(48px,7vw,105px); color: #fff; background: #5220b0; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.auth-aside::after { content: ""; width: 330px; height: 330px; border-radius: 50%; background: var(--coral); position: absolute; left: -170px; bottom: -150px; opacity: .4; }
.register-aside { background: #1a7f88; }
.auth-aside h1 { font-family: "Poppins"; font-size: clamp(36px,4.8vw,61px); line-height: 1.08; letter-spacing: -2.5px; margin: 16px 0; }
.auth-aside > p { color: rgba(255,255,255,.77); max-width: 600px; line-height: 1.65; }
.auth-points { display: grid; gap: 12px; margin-top: 28px; font-size: 14px; font-weight: 650; }
.auth-card { width: min(520px, calc(100% - 40px)); align-self: center; justify-self: center; padding: clamp(28px,5vw,48px); border: 1px solid var(--line); border-radius: 25px; background: #fff; box-shadow: var(--shadow-lg); }
.auth-heading { text-align: center; margin-bottom: 26px; }
.auth-heading .brand-mark { margin: 0 auto 18px; }
.auth-heading h1, .auth-heading h2 { font-family: "Poppins"; font-size: 28px; letter-spacing: -1px; margin: 0 0 7px; }
.auth-heading p { color: var(--muted); font-size: 13px; line-height: 1.55; margin: 0; }
.google-auth-button { width: 100%; min-height: 50px; padding: 12px 16px; display: flex; align-items: center; justify-content: center; gap: 12px; color: #292335; background: #fff; border: 1px solid #d9d4e3; border-radius: 12px; box-shadow: 0 4px 12px rgba(41,35,53,.06); text-decoration: none; font-size: 14px; font-weight: 750; transition: border-color .2s, box-shadow .2s, transform .2s; }
.google-auth-button:hover { border-color: #b8afc8; box-shadow: 0 8px 18px rgba(41,35,53,.1); transform: translateY(-1px); }
.google-auth-button:focus-visible { outline: 3px solid rgba(100,38,217,.22); outline-offset: 2px; }
.google-auth-button svg { width: 22px; height: 22px; flex: 0 0 22px; }
.auth-divider { margin: 20px 0; display: flex; align-items: center; gap: 12px; color: #817990; font-size: 12px; text-align: center; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-divider span { flex: 0 0 auto; }
.stack-form { display: grid; gap: 16px; }
.stack-form label, .field-grid label, .start-form label, .proof-form label { display: grid; gap: 7px; color: #514968; font-size: 12px; font-weight: 750; }
.stack-form input, .stack-form textarea, .stack-form select, .field-grid input, .field-grid textarea, .field-grid select, .start-form input, .proof-form input { width: 100%; border: 1px solid #ddd6e8; background: #fff; color: var(--ink); min-height: 46px; border-radius: 11px; padding: 11px 13px; outline: none; transition: border .2s, box-shadow .2s; }
.stack-form input:focus, .stack-form textarea:focus, .field-grid input:focus, .field-grid textarea:focus, .field-grid select:focus, .proof-form input:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(100,38,217,.12); }
.form-grid-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-between { display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
.form-between a, .auth-switch a, .stack-form small a { color: var(--purple); font-weight: 750; }
.check-label { display: flex !important; grid-template-columns: auto 1fr; align-items: center; gap: 8px !important; font-weight: 500 !important; }
.check-label input { min-height: 0; width: auto; }
.auth-switch { text-align: center; color: var(--muted); font-size: 13px; margin: 22px 0 0; }
.auth-help { margin: 18px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; text-align: center; }
.simple-auth-shell { min-height: calc(100vh - 74px); padding: 60px 20px; display: grid; place-items: center; background: radial-gradient(circle at 25% 15%,#e5dcff,transparent 35%),#f7f4ff; }
.narrow-card { max-width: 470px; }

/* Minha conta */
.account-page { background: radial-gradient(circle at 12% 8%,#eae1ff 0 12%,transparent 32%),var(--surface); }
.account-shell { max-width: 1080px; min-height: 670px; margin: auto; padding: 48px 22px 80px; }
.account-shell > .back-link { margin-bottom: 18px; }
.account-grid { display: grid; grid-template-columns: minmax(280px,.8fr) minmax(360px,1.2fr); gap: 22px; align-items: stretch; }
.account-identity-card, .account-password-card, .account-email-card { border-radius: 24px; box-shadow: var(--shadow-lg); }
.account-identity-card { min-width: 0; padding: clamp(28px,4vw,42px); display: flex; flex-direction: column; align-items: flex-start; color: #fff; background: linear-gradient(145deg,#24123f,#5d25c8 68%,#7d40ec); overflow: hidden; position: relative; }
.account-identity-card::after { content: "W"; position: absolute; right: -28px; bottom: -80px; color: rgba(255,255,255,.055); font-size: 260px; font-weight: 900; line-height: 1; pointer-events: none; }
.user-avatar-xl { width: 108px; height: 108px; flex-basis: 108px; margin-bottom: 28px; background: linear-gradient(135deg,#a47df4,#ff6e83); border: 4px solid rgba(255,255,255,.92); box-shadow: 0 14px 30px rgba(11,3,28,.28); font-size: 32px; }
.account-identity-card .eyebrow { color: #e9deff; }
.account-identity-card .eyebrow::before { background: var(--yellow); }
.account-identity-card h1 { max-width: 100%; margin: 12px 0 5px; overflow-wrap: anywhere; font-family: "Poppins",sans-serif; font-size: clamp(26px,3vw,38px); letter-spacing: -1.4px; line-height: 1.1; }
.account-identity-card > p { max-width: 100%; margin: 0 0 18px; color: #ded3f2; overflow-wrap: anywhere; font-size: 13px; }
.google-connected-badge, .password-account-badge { width: fit-content; padding: 8px 10px; display: inline-flex; align-items: center; gap: 7px; color: #144b35; background: #e4faef; border-radius: 999px; font-size: 10px; font-weight: 800; }
.google-connected-badge svg { width: 16px; height: 16px; }
.password-account-badge { color: #4e3880; background: #eee7ff; }
.account-details { width: 100%; margin: 28px 0 0; position: relative; z-index: 1; }
.account-details > div { padding: 13px 0; display: grid; gap: 4px; border-top: 1px solid rgba(255,255,255,.15); }
.account-details dt { color: #bfb2d8; text-transform: uppercase; letter-spacing: .8px; font-size: 9px; font-weight: 800; }
.account-details dd { margin: 0; overflow-wrap: anywhere; font-size: 12px; font-weight: 650; }
.account-password-card { padding: clamp(28px,5vw,50px); background: #fff; border: 1px solid var(--line); }
.account-password-card h2 { margin: 8px 0 9px; font-family: "Poppins",sans-serif; font-size: clamp(25px,3vw,34px); letter-spacing: -1px; }
.account-password-card > p { margin: 0 0 26px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.account-password-card .button { margin-top: 6px; }
.account-email-card { grid-column: 1/-1; padding: clamp(25px,4vw,38px); display: grid; grid-template-columns: minmax(220px,.75fr) minmax(360px,1.25fr); gap: 38px; align-items: center; background: linear-gradient(135deg,#fff,#fbf8ff); border: 1px solid var(--line); }
.account-email-copy h2 { margin: 8px 0 8px; font-family: "Poppins",sans-serif; font-size: clamp(23px,3vw,31px); letter-spacing: -.8px; }
.account-email-copy p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.email-preference-form { display: grid; gap: 15px; }
.email-preference-option { padding: 18px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 14px; background: #f7f1ff; border: 1px solid #dfd0fb; border-radius: 16px; cursor: pointer; }
.email-preference-option input { width: 1px; height: 1px; position: absolute; opacity: 0; pointer-events: none; }
.preference-switch { width: 48px; height: 27px; position: relative; background: #b8afc8; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(43,27,70,.12); transition: background .2s; }
.preference-switch::after { content: ""; width: 21px; height: 21px; position: absolute; left: 3px; top: 3px; background: #fff; border-radius: 50%; box-shadow: 0 2px 7px rgba(28,15,50,.25); transition: transform .2s; }
.email-preference-option input:checked + .preference-switch { background: var(--purple); }
.email-preference-option input:checked + .preference-switch::after { transform: translateX(21px); }
.email-preference-option input:focus-visible + .preference-switch { outline: 3px solid rgba(100,38,217,.25); outline-offset: 3px; }
.email-preference-option > span:last-child { display: grid; gap: 4px; }
.email-preference-option strong { font-size: 13px; }
.email-preference-option small { color: var(--muted); font-size: 11px; line-height: 1.5; }
.transactional-email-note { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.email-preference-form .button { width: fit-content; }
.marketing-consent { width: fit-content; padding: 4px 7px; border-radius: 999px; font-size: 9px !important; font-weight: 800; }
.marketing-consent.enabled { color: #17613f !important; background: #dcf6e9; }
.marketing-consent.disabled { color: #6c607b !important; background: #eeeaf3; }

/* Painel */
.dashboard-hero { max-width: 1320px; margin: auto; padding: 54px 24px 34px; display: flex; justify-content: space-between; gap: 25px; align-items: end; }
.dashboard-hero h1 { font-family: "Poppins"; font-size: clamp(35px,4vw,54px); letter-spacing: -2px; margin: 8px 0 5px; }
.dashboard-hero p { color: var(--muted); margin: 0; }
.dashboard-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.dashboard-welcome { min-width: 0; display: flex; align-items: center; gap: 20px; }
.dashboard-welcome > div { min-width: 0; }
.user-avatar-dashboard { width: 76px; height: 76px; flex-basis: 76px; border: 4px solid #fff; box-shadow: 0 10px 25px rgba(75,42,135,.2); font-size: 24px; }
.dashboard-section { max-width: 1320px; margin: 0 auto 28px; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.active-download-banner { color: #fff; background: #12845a; border: 0; display: flex; justify-content: space-between; align-items: center; }
.active-download-banner > div { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 6px 10px; }
.active-download-banner p { grid-column: 2; margin: 0; color: #d4f5e7; font-size: 12px; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: #83f4c2; box-shadow: 0 0 0 6px rgba(131,244,194,.16); }
.mini-heading { margin: 0 0 20px; }
.mini-heading h2 { font-size: 23px; letter-spacing: -.7px; }
.mini-heading p { color: var(--muted); margin: 5px 0 0; font-size: 13px; }
.pending-row { display: flex; gap: 12px; flex-wrap: wrap; }
.pending-row > div { min-width: 250px; display: grid; gap: 5px; padding: 14px; border-radius: 12px; background: #fff8e7; border: 1px solid #f6dfa4; }
.pending-row small { color: var(--muted); }
.pending-row .button { margin-top: 6px; }
.pending-actions { margin-top: 6px; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.pending-actions form, .pending-actions .button { width: 100%; margin: 0; }
.button-cancel { color: var(--danger); background: #fff; border-color: #efb7c3; }
.button-cancel:hover { color: #fff; background: var(--danger); border-color: var(--danger); }
.status-badge { width: fit-content; display: inline-flex; align-items: center; padding: 5px 8px; border-radius: 999px; font-size: 9px; font-weight: 850; text-transform: uppercase; letter-spacing: .7px; }
.status-badge.pending { color: #7a4d00; background: #ffe7a8; }
.status-badge.paid { color: #0b7049; background: #cef4e3; }
.status-badge.rejected, .status-badge.cancelled { color: #98223f; background: #ffe0e7; }
.status-badge.refunded, .status-badge.charged_back { color: #714b09; background: #f9e4b9; }
.status-badge.saved { color: #276052; background: #d9f5eb; }
.status-badge.active { color: #0e6a45; background: #cdf6e4; }
.status-badge.reversed { color: #8d2440; background: #ffe0e7; }
.payment-history-list { display: grid; gap: 10px; }
.payment-history-list article { padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border: 1px solid var(--line); border-radius: 12px; background: #fcfbff; }
.payment-history-list article > div { min-width: 0; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 6px 10px; }
.payment-history-list article strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.payment-history-list article small { grid-column: 2; color: var(--muted); }
.resume-project-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.project-card { padding: 15px; display: grid; grid-template-columns: 100px 1fr; gap: 16px; border: 1px solid var(--line); border-radius: 15px; position: relative; }
.project-paper { width: 100px; height: 140px; background: #fdfdff; border: 1px solid #ddd7e6; box-shadow: 0 6px 12px rgba(31,24,52,.09); padding: 15px 10px; overflow: hidden; }
.paper-band { height: 9px; margin: -15px -10px 14px; background: var(--purple); }
.paper-avatar { width: 28px; height: 28px; margin-bottom: 10px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #9f7aea; font-size: 10px; font-weight: 800; }
.project-paper i { display: block; height: 4px; border-radius: 3px; background: #e2ddea; margin: 7px 0; }
.project-paper i:nth-child(3) { width: 70%; }
.project-paper i:nth-child(5) { width: 82%; }
.project-info { align-self: center; min-width: 0; }
.project-info h3 { margin: 8px 0 5px; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.project-info p { margin: 0; color: var(--muted); font-size: 11px; }
.project-actions { grid-column: 1/-1; display: flex; align-items: center; gap: 8px; border-top: 1px solid var(--line); padding-top: 12px; }
.project-actions details { margin-left: auto; position: relative; }
.project-actions summary { list-style: none; cursor: pointer; padding: 6px; }
.action-menu { position: absolute; right: 0; top: 30px; z-index: 10; min-width: 130px; padding: 7px; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: var(--shadow-lg); }
.action-menu button { width: 100%; border: 0; background: transparent; text-align: left; padding: 9px; border-radius: 7px; cursor: pointer; }
.action-menu button:hover { background: var(--surface); }
.empty-state { text-align: center; padding: 58px 20px; border: 2px dashed #ded7e9; border-radius: 17px; background: #faf8ff; }
.empty-icon { width: 65px; height: 65px; display: grid; place-items: center; margin: auto; border-radius: 20px; color: #fff; background: var(--purple); font-size: 19px; font-weight: 850; box-shadow: 7px 8px 0 #dcd0fa; }
.empty-state h2, .empty-state h3 { margin: 22px 0 8px; }
.empty-state p { color: var(--muted); max-width: 520px; margin: 0 auto 22px; line-height: 1.6; }

.downloads-section { max-width: 1100px; margin: auto; padding-top: 45px; }
.download-list { display: grid; gap: 15px; }
.download-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.pdf-icon { width: 58px; height: 68px; display: grid; place-items: center; border-radius: 8px 8px 14px 8px; color: #fff; background: #e54156; font-weight: 850; font-size: 12px; box-shadow: 5px 6px 0 #ffd4db; }
.download-info h2 { margin: 8px 0 5px; font-size: 19px; }
.download-info p { margin: 0 0 6px; color: var(--purple); font-weight: 700; font-size: 12px; }
.download-info small { color: var(--muted); }
.download-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* Novo currículo */
.new-resume-section { max-width: 1200px; margin: auto; padding-top: 40px; }
.start-form { display: grid; gap: 25px; }
.start-step { display: grid; grid-template-columns: 52px 1fr; gap: 20px; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.step-number { width: 44px; height: 44px; display: grid; place-items: center; color: #fff; background: var(--purple); border-radius: 14px; font-weight: 850; box-shadow: 5px 6px 0 #dfd3fa; }
.step-content h2 { margin: 3px 0 5px; font-size: 22px; }
.step-content > p { color: var(--muted); margin: 0 0 19px; font-size: 13px; }
.choice-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.choice-card { position: relative; }
.choice-card input { position: absolute; opacity: 0; pointer-events: none; }
.choice-card > .choice-copy { min-height: 70px; padding: 13px; display: flex; flex-direction: column; justify-content: center; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; transition: border .2s, background .2s, transform .2s; }
.choice-card b { font-size: 12px; }
.choice-card small { color: var(--muted); margin-top: 5px; font-weight: 500; }
.choice-card input:checked + .choice-copy, .visual-choice input:checked ~ .choice-copy { border-color: var(--purple); background: var(--purple-soft); box-shadow: 0 0 0 2px rgba(100,38,217,.1); }
.choice-card:hover > .choice-copy { transform: translateY(-2px); }
.visual-choice { display: grid; grid-template-columns: 28px 1fr; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.visual-choice:has(input:checked) { border-color: var(--purple); box-shadow: 0 0 0 4px rgba(100,38,217,.14),0 10px 24px rgba(76,29,149,.14); transform: translateY(-1px); }
.visual-choice .choice-swatch { background: var(--choice-color); cursor: pointer; }
.visual-choice > .choice-copy { padding-right: 40px; border: 0; border-radius: 0; }
.visual-choice input:checked ~ .choice-swatch { box-shadow: inset 0 0 0 3px #fff; }
.choice-selected-frame { position: absolute; inset: 0; z-index: 2; border: 3px solid var(--purple); border-radius: 11px; opacity: 0; pointer-events: none; transition: opacity .18s; }
.choice-selected-frame::after { content: "✓"; width: 24px; height: 24px; display: grid; place-items: center; position: absolute; right: 7px; top: 7px; color: #fff; background: var(--purple); border: 2px solid #fff; border-radius: 50%; box-shadow: 0 3px 10px rgba(69,20,159,.3); font-size: 12px; font-weight: 900; }
.visual-choice input:checked ~ .choice-selected-frame { opacity: 1; }
.visual-choice:focus-within { outline: 3px solid rgba(100,38,217,.2); outline-offset: 3px; }
.start-submit { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px; }
.start-submit p { color: var(--muted); font-size: 13px; }

/* Checkout */
.checkout-shell { max-width: 1180px; margin: auto; padding: 55px 22px 80px; display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.checkout-main { padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-sm); }
.back-link { display: inline-block; color: var(--muted); text-decoration: none; font-size: 12px; font-weight: 700; margin-bottom: 22px; }
.checkout-main h1 { font-family: "Poppins"; font-size: clamp(31px,4vw,47px); letter-spacing: -2px; line-height: 1.08; margin: 12px 0; }
.checkout-main > p { color: var(--muted); line-height: 1.65; }
.order-resume { display: flex; gap: 16px; align-items: center; padding: 16px; margin: 25px 0; border: 1px solid var(--line); border-radius: 13px; background: #faf9fd; }
.order-resume > div:last-child { display: grid; gap: 5px; }
.order-resume span { color: var(--muted); font-size: 12px; }
.payment-status-box { padding: 18px; margin: 18px 0; border: 1px solid #f0d18a; border-radius: 13px; background: #fff9e8; }
.payment-status-box h2 { margin: 10px 0 4px; font-size: 18px; }
.payment-status-box p { margin: 0; color: #735f37; font-size: 12px; }
.payment-status-box form { margin-top: 13px; }
.payment-options { display: grid; gap: 10px; }
.payment-option { padding: 15px; display: flex; justify-content: space-between; align-items: center; gap: 15px; border: 1px solid var(--line); border-radius: 13px; }
.payment-option > div { display: flex; align-items: center; gap: 12px; }
.payment-option h3 { margin: 0 0 4px; font-size: 14px; }
.payment-option p { margin: 0; color: var(--muted); font-size: 11px; }
.payment-logo { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; font-size: 10px; font-weight: 900; }
.mp-logo { color: #0867a8; background: #d5f1ff; }
.pix-logo { color: #04675e; background: #ccf6ef; }
.manual-payment { margin-top: 8px; background: #f9fffe; }
.automatic-payment-card { margin-top: 18px; padding: 23px; border: 1px solid #bfe5f8; border-radius: 17px; background: linear-gradient(145deg,#f3fbff,#fff); box-shadow: 0 12px 30px rgba(8,103,168,.08); }
.admin-free-payment-card { margin-top: 18px; padding: 23px; border: 1px solid #d8c4ff; border-radius: 17px; background: linear-gradient(145deg,#f7f1ff,#fff); box-shadow: 0 12px 30px rgba(100,38,217,.1); }
.admin-free-logo { color: #fff; background: linear-gradient(135deg,#5020af,#8b48ef); }
.admin-free-total { margin: 19px 0; padding: 14px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid #e3d7f7; border-bottom: 1px solid #e3d7f7; color: var(--muted); font-size: 12px; }
.admin-free-total strong { color: var(--purple); font-size: 24px; }
.automatic-payment-heading { display: flex; align-items: center; gap: 14px; }
.automatic-payment-heading .payment-logo { flex: 0 0 auto; width: 54px; height: 54px; border-radius: 16px; }
.automatic-payment-heading h2 { margin: 0 0 4px; font-size: 19px; }
.automatic-payment-heading p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.payment-method-chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 18px 0; }
.payment-method-chips span { padding: 7px 10px; color: #075e96; background: #e2f5ff; border: 1px solid #c1e8fb; border-radius: 999px; font-size: 10px; font-weight: 800; }
.configuration-alert { display: grid; gap: 5px; padding: 14px; color: #7a2638; background: #fff0f3; border: 1px solid #fac8d2; border-radius: 11px; font-size: 12px; }
.checkout-steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 11px; }
.checkout-steps li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; }
.checkout-steps li > b { width: 30px; height: 30px; flex: 0 0 30px; display: grid; place-items: center; color: #fff; background: var(--purple); border-radius: 50%; font-size: 11px; }
.checkout-steps li > span { display: grid; gap: 3px; }
.checkout-steps li strong { font-size: 12px; }
.checkout-steps li small { color: var(--muted); line-height: 1.45; }
.pix-box { display: grid; grid-template-columns: 1fr auto; gap: 18px; padding: 18px; margin: 15px 0; border: 1px dashed #69cfc5; border-radius: 14px; background: #edfffc; }
.pix-details { display: grid; gap: 5px; min-width: 0; }
.pix-details span, .pix-value span { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .8px; font-weight: 800; }
.pix-details strong { overflow-wrap: anywhere; }
.pix-details small { color: var(--muted); }
.pix-value { grid-column: 1/-1; display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid #bde9e4; }
.pix-value strong { font-size: 24px; color: #086e64; }
.proof-form { display: flex; align-items: end; gap: 10px; padding-top: 8px; }
.proof-form label { flex: 1; }
.order-summary { padding: 26px; border-radius: 22px; color: #fff; background: #21123e; position: sticky; top: 95px; box-shadow: var(--shadow-lg); }
.order-summary h2 { margin: 13px 0 22px; font-size: 20px; }
.order-summary ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 15px; }
.order-summary li { display: flex; justify-content: space-between; gap: 12px; color: #d8cfe8; font-size: 12px; }
.order-summary li b { color: #fff; }
.summary-total { display: flex; justify-content: space-between; align-items: end; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.13); }
.summary-total strong { color: var(--yellow); font-size: 29px; }
.secure-note { text-align: center; color: #bcb0ce; font-size: 11px; margin: 20px 0 0; }

/* Comprovante */
.receipt-page { max-width: 920px; margin: auto; padding: 42px 22px 80px; }
.receipt-actions, .receipt-bottom-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.receipt-actions .back-link { margin: 0; }
.payment-receipt { margin: 18px 0; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); }
.receipt-header { padding: 25px 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.receipt-brand { pointer-events: none; }
.receipt-header > div { display: grid; gap: 5px; text-align: right; }
.receipt-header > div span { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: 1px; font-weight: 800; }
.receipt-header > div strong { font-size: 13px; overflow-wrap: anywhere; }
.receipt-confirmation { margin: 26px 28px 0; padding: 22px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; border-radius: 16px; }
.receipt-approved { color: #0c6945; background: #e1f8ed; border: 1px solid #b9ead4; }
.receipt-reversed { color: #8b2440; background: #fff0f3; border: 1px solid #f7c7d1; }
.receipt-check { width: 46px; height: 46px; display: grid; place-items: center; color: #fff; border-radius: 50%; font-size: 0; }
.receipt-approved .receipt-check { background: #12845a; }
.receipt-reversed .receipt-check { background: #b52a4d; }
.receipt-check::after { content: "✓"; color: #fff; font-size: 22px; font-weight: 900; }
.receipt-reversed .receipt-check::after { content: "!"; }
.receipt-confirmation small { text-transform: uppercase; letter-spacing: 1px; font-size: 9px; font-weight: 850; }
.receipt-confirmation h1 { margin: 3px 0; color: var(--ink); font-size: 21px; }
.receipt-confirmation p { margin: 0; font-size: 11px; line-height: 1.45; }
.receipt-amount { color: var(--ink); font-size: 25px; white-space: nowrap; }
.receipt-details { padding: 28px; }
.receipt-details h2 { margin: 0 0 18px; font-size: 17px; }
.receipt-details dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.receipt-details dl > div { min-width: 0; padding: 14px 16px; display: grid; gap: 5px; border-bottom: 1px solid var(--line); }
.receipt-details dl > div:nth-child(odd) { border-right: 1px solid var(--line); }
.receipt-details dt { color: var(--muted); text-transform: uppercase; letter-spacing: .7px; font-size: 9px; font-weight: 800; }
.receipt-details dd { margin: 0; font-size: 12px; font-weight: 700; overflow-wrap: anywhere; }
.receipt-footer { padding: 20px 28px; color: var(--muted); background: #f8f6fb; border-top: 1px solid var(--line); text-align: center; }
.receipt-footer p { max-width: 650px; margin: 0 auto 8px; font-size: 10px; line-height: 1.55; }
.receipt-footer span { font-size: 9px; font-weight: 700; }
.receipt-bottom-actions { justify-content: flex-end; }

/* Admin */
.admin-page { background: linear-gradient(180deg, #f7f4ff 0, #faf9fc 420px, var(--surface) 100%); }
.admin-hero { padding-bottom: 28px; }
.admin-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.admin-stats { max-width: 1320px; margin: 0 auto 24px; padding: 0 24px; display: grid; grid-template-columns: 1.35fr repeat(4,1fr); gap: 13px; }
.admin-stats article { min-width: 0; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 16px; display: grid; align-content: start; gap: 8px; box-shadow: var(--shadow-sm); }
.admin-stats span { color: var(--muted); font-size: 11px; font-weight: 700; }
.admin-stats strong { overflow-wrap: anywhere; font-size: clamp(24px,2.3vw,31px); letter-spacing: -.8px; }
.admin-stats small { color: #91899f; font-size: 10px; line-height: 1.4; }
.admin-stats .admin-stat-revenue { color: #fff; background: linear-gradient(135deg, #5f21ce, #7a3bea); border-color: transparent; box-shadow: 0 16px 35px rgba(91,33,182,.2); }
.admin-stats .admin-stat-revenue span, .admin-stats .admin-stat-revenue small { color: #e7dcff; }
.admin-stats .admin-stat-revenue strong { color: var(--yellow); }
.dashboard-section { scroll-margin-top: 96px; }
.admin-section-kicker { display: block; margin-bottom: 6px; color: var(--purple); text-transform: uppercase; letter-spacing: 1.2px; font-size: 9px; font-weight: 850; }
.admin-section-heading { align-items: center; }
.record-count { flex: 0 0 auto; padding: 8px 11px; color: #5c526d; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; font-size: 11px; font-weight: 750; }
.price-manager { padding: clamp(24px,4vw,38px); display: grid; grid-template-columns: minmax(0,1fr) minmax(290px,390px); align-items: center; gap: clamp(28px,6vw,80px); overflow: hidden; position: relative; background: linear-gradient(130deg, #fff 0 58%, #f1ebff 58%); }
.price-manager::after { content: "R$"; position: absolute; right: 34%; bottom: -42px; z-index: 0; color: rgba(100,38,217,.05); font-size: 150px; font-weight: 900; line-height: 1; pointer-events: none; }
.price-manager-copy, .price-form { position: relative; z-index: 1; }
.price-manager-copy h2 { margin: 0 0 10px; font-family: "Poppins", sans-serif; font-size: clamp(22px,3vw,32px); letter-spacing: -1px; }
.price-manager-copy > strong { display: block; color: var(--purple); font-size: clamp(35px,4.5vw,52px); letter-spacing: -2px; }
.price-manager-copy p { max-width: 620px; margin: 12px 0 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.price-form { padding: 20px; display: grid; gap: 10px; background: rgba(255,255,255,.9); border: 1px solid #ddd2f8; border-radius: 16px; box-shadow: var(--shadow-sm); }
.price-form > label { color: #514968; font-size: 11px; font-weight: 800; }
.price-form > small { color: var(--muted); font-size: 10px; }
.money-input { min-height: 50px; display: grid; grid-template-columns: auto 1fr; align-items: center; overflow: hidden; background: #fff; border: 1px solid #d7cdea; border-radius: 11px; transition: border .2s, box-shadow .2s; }
.money-input:focus-within { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(100,38,217,.12); }
.money-input span { align-self: stretch; padding: 0 14px; display: grid; place-items: center; color: var(--purple); background: var(--purple-soft); border-right: 1px solid #d7cdea; font-size: 12px; font-weight: 850; }
.money-input input { width: 100%; min-width: 0; padding: 12px 14px; color: var(--ink); background: transparent; border: 0; outline: 0; font-size: 20px; font-weight: 800; }
.email-manager { padding: clamp(24px,4vw,38px); display: grid; grid-template-columns: minmax(0,1fr) minmax(290px,390px); align-items: center; gap: clamp(28px,6vw,80px); background: linear-gradient(135deg,#fff 0 58%,#f0f9ff 58%); }
.email-manager-copy h2 { margin: 0; font-family: "Poppins", sans-serif; font-size: clamp(22px,3vw,32px); letter-spacing: -1px; }
.email-title-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.email-manager-copy > p { max-width: 650px; margin: 12px 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.email-status { padding: 7px 10px; border-radius: 999px; font-size: 10px; font-weight: 800; }
.email-status.ready { color: #087a55; background: #daf8ec; }
.email-status.attention { color: #9a5a00; background: #fff0c7; }
.email-details { margin: 18px 0 12px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.email-details div { min-width: 0; padding: 11px 12px; background: #f8f6fc; border: 1px solid var(--line); border-radius: 10px; }
.email-details dt { color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; }
.email-details dd { margin: 4px 0 0; overflow-wrap: anywhere; color: var(--ink); font-size: 11px; font-weight: 750; }
.admin-doc-link { color: var(--purple); font-size: 11px; font-weight: 750; }
.email-test-form { padding: 22px; display: grid; justify-items: start; gap: 10px; background: rgba(255,255,255,.94); border: 1px solid #cce8f5; border-radius: 16px; box-shadow: var(--shadow-sm); }
.email-test-form > span { width: 42px; height: 42px; display: grid; place-items: center; color: #075985; background: #dff4ff; border-radius: 12px; font-size: 21px; }
.email-test-form h3 { margin: 2px 0 0; font-family: "Poppins", sans-serif; font-size: 18px; }
.email-test-form p { margin: 0 0 5px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.promotion-manager { padding: clamp(24px,4vw,38px); background: linear-gradient(145deg,#fff 0 70%,#faf4ff 100%); }
.promotion-heading { margin-bottom: 22px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.promotion-heading h2 { margin: 0; font-family: "Poppins",sans-serif; font-size: clamp(22px,3vw,32px); letter-spacing: -1px; }
.promotion-heading p { max-width: 720px; margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.promotion-audience { min-width: 130px; padding: 14px 16px; display: grid; justify-items: center; color: #fff; background: linear-gradient(135deg,#5420bb,#7c3aed); border-radius: 15px; box-shadow: 0 12px 24px rgba(91,33,182,.18); }
.promotion-audience strong { color: var(--yellow); font-size: 26px; line-height: 1; }
.promotion-audience span { margin-top: 5px; color: #ebe4fb; font-size: 9px; font-weight: 750; }
.promotion-warning { margin-bottom: 18px; padding: 12px 14px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; color: #78510e; background: #fff5d8; border: 1px solid #f1d78d; border-radius: 11px; font-size: 11px; }
.promotion-warning strong { font-size: 12px; }
.promotion-warning a { margin-left: auto; color: #6d28d9; font-weight: 800; }
.promotion-layout { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(260px,.65fr); align-items: start; gap: 20px; }
.promotion-form { padding: 20px; display: grid; gap: 14px; background: #fbfaff; border: 1px solid var(--line); border-radius: 16px; }
.promotion-form label { display: grid; gap: 7px; color: #514968; font-size: 11px; font-weight: 800; }
.promotion-form label > span { color: var(--muted); font-size: 9px; font-weight: 600; }
.promotion-form input, .promotion-form textarea { width: 100%; padding: 12px 13px; color: var(--ink); background: #fff; border: 1px solid #d9d0e8; border-radius: 10px; outline: 0; font-size: 12px; line-height: 1.5; transition: border-color .2s,box-shadow .2s; }
.promotion-form textarea { min-height: 150px; resize: vertical; }
.promotion-form input:focus, .promotion-form textarea:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(100,38,217,.11); }
.promotion-cta-fields { display: grid; grid-template-columns: minmax(180px,.55fr) minmax(260px,1.45fr); gap: 12px; }
.promotion-submit-row { padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid var(--line); }
.promotion-submit-row p { max-width: 500px; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.promotion-submit-row .button { flex: 0 0 auto; }
.campaign-history { padding: 19px; background: #21123d; border-radius: 16px; box-shadow: var(--shadow-sm); }
.campaign-history .admin-section-kicker { color: #c7adff; }
.campaign-history h3 { margin: 0; color: #fff; font-family: "Poppins",sans-serif; font-size: 19px; }
.campaign-list { margin-top: 15px; display: grid; gap: 9px; }
.campaign-list article { min-width: 0; padding: 12px; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 6px 9px; color: #f6f2ff; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: 10px; }
.campaign-list article > div { min-width: 0; display: grid; gap: 4px; }
.campaign-list strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.campaign-list small { color: #cfc5df; font-size: 8px; }
.campaign-list article > small { grid-column: 1/-1; }
.campaign-list p { grid-column: 1/-1; margin: 0; overflow: hidden; color: #ffb7c6; text-overflow: ellipsis; white-space: nowrap; font-size: 8px; }
.campaign-status { padding: 5px 7px; border-radius: 999px; font-size: 8px; font-weight: 850; text-transform: uppercase; }
.campaign-status.sent { color: #87f0c1; background: rgba(19,138,91,.24); }
.campaign-status.failed { color: #ffc1ce; background: rgba(201,42,69,.24); }
.campaign-status.sending { color: #ffe399; background: rgba(255,209,102,.14); }
.campaign-empty { margin-top: 15px; padding: 22px 12px; color: #cfc5df; background: rgba(255,255,255,.06); border-radius: 10px; text-align: center; font-size: 10px; }
.button:disabled { cursor: not-allowed; opacity: .48; transform: none; }
.admin-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 13px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 12px; background: #fff; }
.purchases-table { min-width: 1080px; }
.resumes-table { min-width: 1060px; }
.customers-table { min-width: 940px; }
.admin-table th { text-align: left; color: var(--muted); background: #faf8fd; text-transform: uppercase; font-size: 9px; letter-spacing: .8px; padding: 12px 11px; border-bottom: 1px solid var(--line); }
.admin-table td { padding: 13px 11px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.admin-table tbody tr:last-child td { border-bottom: 0; }
.admin-table tbody tr:hover { background: #fdfcff; }
.admin-table small { color: var(--muted); line-height: 1.4; }
.admin-table code { width: fit-content; padding: 4px 6px; color: #513779; background: #f2edfa; border-radius: 5px; font-size: 10px; font-weight: 750; }
.cell-stack { min-width: 0; display: grid; gap: 4px; }
.cell-stack b, .cell-stack small { overflow-wrap: anywhere; }
.table-actions { display: flex; gap: 6px; }
.table-actions-wrap { max-width: 280px; flex-wrap: wrap; }
.table-actions form { margin: 0; }
.automatic-note { display: inline-flex; padding: 7px 9px; color: #5d438b; background: #f1eaff; border-radius: 8px; font-size: 10px; font-weight: 750; }
.template-code { display: inline-flex; padding: 6px 8px; color: #334155; background: #f1f5f9; border-radius: 7px; font-size: 10px; font-weight: 750; }
.admin-free-download { white-space: nowrap; background: linear-gradient(135deg,#5b21b6,#7c3aed); box-shadow: 0 7px 15px rgba(91,33,182,.16); }
.button-danger-outline { color: var(--danger); background: #fff; border-color: #f0b8c4; }
.button-danger-outline:hover { color: #fff; background: var(--danger); border-color: var(--danger); }
.customer-identity { min-width: 205px; display: grid; grid-template-columns: 34px minmax(0,1fr); align-items: center; gap: 9px; }
.customer-identity > span { width: 34px; height: 34px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg,var(--purple),#9469ed); border-radius: 50%; font-size: 12px; font-weight: 850; }
.admin-pagination { min-height: 42px; margin-top: 16px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; font-size: 11px; }
.admin-pagination a { width: fit-content; color: var(--purple); text-decoration: none; font-weight: 800; }
.admin-pagination a:last-child { justify-self: end; }
.admin-pagination b { color: var(--muted); font-size: 10px; }
.empty-inline { padding: 25px; text-align: center; color: var(--muted); background: var(--surface); border-radius: 12px; }
.active-admin-list { display: grid; gap: 8px; }
.active-admin-list > div { padding: 12px; display: grid; grid-template-columns: auto 180px 1fr auto; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 10px; }
.active-admin-list small { color: var(--muted); }

.legal-content { max-width: 850px; margin: 45px auto 80px; padding: 0 22px; line-height: 1.75; color: #484057; }
.legal-content h2 { color: var(--ink); margin-top: 30px; }
.unsubscribe-page { min-height: 70vh; padding: 70px 20px; display: grid; place-items: center; background: radial-gradient(circle at 50% 5%,#ede4ff,transparent 46%); }
.unsubscribe-card { width: min(100%,560px); padding: clamp(28px,5vw,48px); display: grid; justify-items: center; gap: 13px; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-lg); text-align: center; }
.unsubscribe-card .brand-mark { margin-bottom: 10px; }
.unsubscribe-card h1 { margin: 4px 0 0; font-family: "Poppins",sans-serif; font-size: clamp(25px,4vw,36px); letter-spacing: -1.2px; }
.unsubscribe-card p { margin: 0 0 10px; color: var(--muted); line-height: 1.7; }
.unsubscribe-card form { width: min(100%,330px); }
.error-page { min-height: 65vh; padding: 70px 20px; display: grid; justify-items: center; align-content: center; text-align: center; }
.error-page > span { color: var(--purple); font-size: 80px; font-weight: 900; opacity: .16; line-height: 1; }
.error-page h1 { font-size: 30px; margin: -12px 0 7px; }
.error-page p { color: var(--muted); }

@media (max-width: 1160px) {
  .template-grid { grid-template-columns: repeat(2,1fr); }
  .card-preview { height: 450px; }
  .card-preview .mini-shell { --mini-scale: .4; }
  .feature-grid { grid-template-columns: repeat(2,1fr); }
  .resume-project-grid { grid-template-columns: repeat(2,1fr); }
  .choice-grid { grid-template-columns: repeat(3,1fr); }
  .admin-stats { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 1120px) {
  .site-nav { display: none; position: absolute; top: 66px; left: 14px; right: 14px; padding: 17px; flex-direction: column; align-items: stretch; gap: 15px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); }
  .site-nav.open { display: flex; }
  .share-menu > summary { width: 100%; justify-content: flex-start; background: #faf8ff; border-color: var(--line); }
  .share-dropdown { width: 100%; margin-top: 8px; position: static; box-shadow: var(--shadow-sm); }
  .account-menu > summary { width: 100%; border-radius: 13px; }
  .account-summary-copy { flex: 1; }
  .account-dropdown { width: 100%; margin-top: 8px; position: static; box-shadow: var(--shadow-sm); }
  .menu-button { display: block; }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 55px; text-align: center; }
  .hero-copy { margin: auto; }
  .hero-copy > p { margin: auto; }
  .hero-actions, .trust-row { justify-content: center; }
  .hero-preview { width: 410px; max-width: 90vw; }
  .section { padding-top: 62px; padding-bottom: 62px; }
  .auto-fill-card { grid-template-columns: 1fr; }
  .pricing-card { flex-direction: column; text-align: center; }
  .auth-shell { grid-template-columns: 1fr; }
  .auth-aside { min-height: 360px; text-align: center; align-items: center; }
  .auth-card { margin: 40px auto; }
  .checkout-shell { grid-template-columns: 1fr; }
  .order-summary { position: static; }
  .admin-stats { grid-template-columns: repeat(2,1fr); }
  .price-manager, .email-manager { grid-template-columns: 1fr; background: #fff; }
  .promotion-layout { grid-template-columns: 1fr; }
  .campaign-history { background: #21123d; }
  .price-manager::after { right: -10px; }
  .active-admin-list > div { grid-template-columns: auto 1fr; }
  .active-admin-list small { grid-column: 1/-1; }
}

@media (max-width: 700px) {
  .hero { min-height: 0; padding-bottom: 65px; }
  .hero h1 { letter-spacing: -2.4px; }
  .hero-preview { display: none; }
  .template-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card-preview { height: 405px; }
  .card-preview .mini-shell { --mini-scale: .36; }
  .template-card-body { padding: 13px; }
  .template-card-body p { display: none; }
  .feature-grid, .resume-project-grid { grid-template-columns: 1fr; }
  .section-heading { align-items: start; flex-direction: column; }
  .dashboard-hero { align-items: start; flex-direction: column; }
  .dashboard-hero-actions { width: 100%; }
  .dashboard-hero-actions .button { flex: 1; }
  .dashboard-welcome { align-items: flex-start; }
  .user-avatar-dashboard { width: 64px; height: 64px; flex-basis: 64px; }
  .account-grid { grid-template-columns: 1fr; }
  .account-email-card { grid-template-columns: 1fr; gap: 22px; }
  .account-identity-card { align-items: center; text-align: center; }
  .account-details { text-align: left; }
  .dashboard-section { margin-left: 14px; margin-right: 14px; }
  .admin-hero { padding-left: 18px; padding-right: 18px; }
  .admin-stats { padding-left: 14px; padding-right: 14px; }
  .admin-section-heading { align-items: flex-start; }
  .promotion-heading, .promotion-submit-row { align-items: stretch; flex-direction: column; }
  .promotion-audience { width: fit-content; justify-items: start; }
  .promotion-cta-fields { grid-template-columns: 1fr; }
  .promotion-submit-row .button { width: 100%; }
  .admin-hero-actions { width: 100%; }
  .admin-hero-actions .button { flex: 1; }
  .active-download-banner { align-items: stretch; flex-direction: column; }
  .payment-history-list article { align-items: stretch; flex-direction: column; }
  .payment-history-list article .button { width: 100%; }
  .download-card { grid-template-columns: auto 1fr; }
  .download-actions { grid-column: 1/-1; }
  .download-actions .button { flex: 1; }
  .choice-grid { grid-template-columns: 1fr 1fr; }
  .start-step { grid-template-columns: 1fr; }
  .start-submit { align-items: stretch; flex-direction: column; }
  .proof-form { align-items: stretch; flex-direction: column; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer small { grid-column: auto; }
  .footer-links { flex-wrap: wrap; }
}

@media (max-width: 460px) {
  .site-header { height: 66px; }
  .template-grid { grid-template-columns: 1fr; }
  .card-preview { height: 475px; }
  .card-preview .mini-shell { --mini-scale: .42; }
  .form-grid-two, .choice-grid, .admin-stats { grid-template-columns: 1fr; }
  .dashboard-welcome { gap: 13px; }
  .user-avatar-dashboard { width: 52px; height: 52px; flex-basis: 52px; border-width: 3px; font-size: 18px; }
  .pending-actions { grid-template-columns: 1fr; }
  .account-shell { padding-left: 14px; padding-right: 14px; }
  .checkout-main { padding: 20px; }
  .pix-box { grid-template-columns: 1fr; }
  .pix-box .button { width: 100%; }
  .download-card { grid-template-columns: 1fr; }
  .pdf-icon { width: 48px; height: 58px; }
  .receipt-page { padding: 25px 14px 55px; }
  .receipt-actions, .receipt-bottom-actions { align-items: stretch; flex-direction: column; }
  .receipt-actions .button, .receipt-bottom-actions .button { width: 100%; }
  .receipt-header { align-items: flex-start; flex-direction: column; }
  .receipt-header > div { text-align: left; }
  .receipt-confirmation { margin: 18px 18px 0; grid-template-columns: auto 1fr; }
  .receipt-amount { grid-column: 2; }
  .receipt-details { padding: 22px 18px; }
  .receipt-details dl { grid-template-columns: 1fr; }
  .receipt-details dl > div:nth-child(odd) { border-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

@media print {
  @page { size: A4; margin: 14mm; }
  body { background: #fff; }
  .site-header, .site-footer, .flash-stack, .no-print { display: none !important; }
  main { min-height: 0; }
  .receipt-page { max-width: none; padding: 0; }
  .payment-receipt { margin: 0; border-color: #ddd; border-radius: 0; box-shadow: none; }
}
