/* ==========================================================================
   Primeiro Currículo — design system (mobile-first, CSS próprio)
   ========================================================================== */

:root {
    --petroleo: #0f5c63;
    --petroleo-escuro: #0a4046;
    --petroleo-claro: #1a7a83;
    --areia: #f7f4ef;
    --carvao: #1f2733;
    --cinza: #5b6773;
    --cinza-claro: #8a95a1;
    --borda: #e3e0d9;
    --branco: #ffffff;
    --sucesso: #1a8a4a;
    --alerta: #c9531b;
    --destaque: #ffb703;

    --raio: 14px;
    --raio-sm: 9px;
    --sombra: 0 4px 20px rgba(15, 92, 99, 0.08);
    --sombra-forte: 0 10px 40px rgba(15, 92, 99, 0.16);
    --container: 620px;

    --fonte: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

[x-cloak] { display: none !important; }

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

body {
    font-family: var(--fonte);
    color: var(--carvao);
    background: var(--areia);
    line-height: 1.55;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--petroleo); text-decoration: none; }

/* Layout ------------------------------------------------------------------ */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

.section { padding: 44px 0; }

/* Botões ------------------------------------------------------------------ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 16px 22px;
    font-size: 17px;
    font-weight: 700;
    font-family: inherit;
    line-height: 1.2;
    border: none;
    border-radius: var(--raio);
    cursor: pointer;
    transition: transform .06s ease, box-shadow .2s ease, background .2s ease;
    text-align: center;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
    background: var(--petroleo);
    color: #fff;
    box-shadow: var(--sombra);
}
.btn-primary:hover { background: var(--petroleo-escuro); }

.btn-destaque {
    background: var(--destaque);
    color: #3a2c00;
}
.btn-destaque:hover { filter: brightness(0.97); }

.btn-ghost {
    background: transparent;
    color: var(--petroleo);
    border: 2px solid var(--borda);
}
.btn-ghost:hover { border-color: var(--petroleo); }

.btn-lg { padding: 18px 24px; font-size: 18px; }
.btn:disabled { opacity: .55; cursor: not-allowed; }

.btn-inline { width: auto; }

/* Tipografia -------------------------------------------------------------- */
h1, h2, h3 { line-height: 1.2; color: var(--carvao); font-weight: 800; }
h1 { font-size: 2rem; letter-spacing: -0.02em; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.15rem; }
.lead { font-size: 1.15rem; color: var(--cinza); }
.text-muted { color: var(--cinza); }
.text-center { text-align: center; }
.destaque-cor { color: var(--petroleo); }

/* Cartões ----------------------------------------------------------------- */
.card {
    background: var(--branco);
    border: 1px solid var(--borda);
    border-radius: var(--raio);
    padding: 22px;
    box-shadow: var(--sombra);
}

/* Utilidades -------------------------------------------------------------- */
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; }
.badge {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(15, 92, 99, 0.1);
    color: var(--petroleo);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
}
.hidden { display: none !important; }

/* ==========================================================================
   LANDING
   ========================================================================== */
.hero {
    background: linear-gradient(160deg, var(--petroleo) 0%, var(--petroleo-escuro) 100%);
    color: #fff;
    padding: 40px 0 52px;
    text-align: center;
}
.hero h1 { color: #fff; font-size: 2.15rem; }
.hero .lead { color: rgba(255,255,255,0.9); margin-top: 14px; }
.hero .badge { background: rgba(255,255,255,0.16); color: #fff; }
.hero .btn { margin-top: 26px; }
.hero-nota { margin-top: 14px; font-size: 0.9rem; color: rgba(255,255,255,0.75); }

.logo {
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}
.logo .ponto { color: var(--destaque); }

.site-header {
    padding: 16px 0;
    background: var(--petroleo);
    color: #fff;
}
.site-header .logo { color: #fff; }

.provas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 24px;
    margin-top: 28px;
    font-size: 0.92rem;
    color: rgba(255,255,255,0.85);
}
.provas span { display: inline-flex; align-items: center; gap: 6px; }

/* Passos / features */
.passos { display: grid; gap: 16px; margin-top: 26px; }
.passo {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--borda);
    border-radius: var(--raio);
    padding: 18px;
}
.passo .num {
    flex: 0 0 auto;
    width: 38px; height: 38px;
    display: grid; place-items: center;
    background: var(--petroleo);
    color: #fff;
    border-radius: 50%;
    font-weight: 800;
}
.passo h3 { margin-bottom: 3px; }

/* Preço */
.preco-box {
    text-align: center;
    background: #fff;
    border: 2px solid var(--petroleo);
    border-radius: var(--raio);
    padding: 30px 22px;
}
.preco-valor { font-size: 3rem; font-weight: 800; color: var(--petroleo); line-height: 1; }
.preco-valor small { font-size: 1.1rem; color: var(--cinza); font-weight: 600; }

/* FAQ */
.faq details {
    background: #fff;
    border: 1px solid var(--borda);
    border-radius: var(--raio-sm);
    padding: 16px 18px;
    margin-bottom: 12px;
}
.faq summary { font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--petroleo); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; color: var(--cinza); }

/* Rodapé */
.site-footer {
    background: var(--carvao);
    color: rgba(255,255,255,0.7);
    padding: 30px 0;
    text-align: center;
    font-size: 0.9rem;
}
.site-footer a { color: #fff; }
.footer-links { margin-top: 12px; display: flex; gap: 8px 18px; justify-content: center; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,0.85); text-decoration: underline; font-size: 0.85rem; }

/* Páginas legais (Termos / Privacidade) */
.legal { max-width: 760px; padding-top: 28px; padding-bottom: 60px; }
.legal h1 { font-size: 1.8rem; margin-bottom: 4px; }
.legal .legal-data { color: var(--cinza-claro); font-size: 0.9rem; margin-bottom: 22px; }
.legal h2 { font-size: 1.15rem; margin: 26px 0 8px; color: var(--petroleo); }
.legal p { margin-bottom: 12px; line-height: 1.6; }
.legal ul { margin: 0 0 14px 20px; }
.legal li { margin-bottom: 7px; line-height: 1.55; }
.legal a { color: var(--petroleo); text-decoration: underline; }
.legal .legal-voltar { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--borda); font-weight: 600; }

/* Barra fixa CTA no mobile */
.cta-fixo {
    position: sticky;
    bottom: 0;
    left: 0; right: 0;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(6px);
    border-top: 1px solid var(--borda);
    padding: 12px 20px;
    z-index: 40;
}

/* ==========================================================================
   WIZARD (formulário em etapas)
   ========================================================================== */
.wizard-topo { padding: 18px 0; }
.progresso {
    height: 8px;
    background: var(--borda);
    border-radius: 999px;
    overflow: hidden;
    margin-top: 10px;
}
.progresso-barra {
    height: 100%;
    background: var(--petroleo);
    border-radius: 999px;
    transition: width .3s ease;
}
.etapa-label { font-size: 0.88rem; color: var(--cinza); font-weight: 600; }

.campo { margin-bottom: 18px; }
.campo label {
    display: block;
    font-weight: 700;
    margin-bottom: 6px;
    font-size: 0.98rem;
}
.campo .ajuda { font-size: 0.85rem; color: var(--cinza-claro); font-weight: 400; margin-bottom: 6px; }
.input, .textarea, .select {
    width: 100%;
    padding: 14px 15px;
    font-size: 16px; /* evita zoom no iOS */
    font-family: inherit;
    color: var(--carvao);
    background: #fff;
    border: 1.5px solid var(--borda);
    border-radius: var(--raio-sm);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.input:focus, .textarea:focus, .select:focus {
    outline: none;
    border-color: var(--petroleo);
    box-shadow: 0 0 0 3px rgba(15, 92, 99, 0.12);
}
.textarea { min-height: 110px; resize: vertical; }

.wizard-nav {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}
.wizard-nav .btn { flex: 1; }

/* Repetidor de blocos */
.repetidor-item {
    position: relative;
    border: 1.5px solid var(--borda);
    border-radius: var(--raio-sm);
    padding: 18px;
    margin-bottom: 14px;
    background: #fbfaf7;
}
.repetidor-remover {
    position: absolute;
    top: 10px; right: 10px;
    background: none; border: none;
    color: var(--alerta);
    font-size: 1.2rem; cursor: pointer;
    line-height: 1;
}

/* Escolha SIM/NÃO grande */
.escolha-grid { display: grid; gap: 14px; }
.escolha-btn {
    display: block;
    width: 100%;
    text-align: left;
    padding: 20px;
    border: 2px solid var(--borda);
    border-radius: var(--raio);
    background: #fff;
    cursor: pointer;
    font-family: inherit;
    transition: border-color .15s ease, background .15s ease;
}
.escolha-btn:hover, .escolha-btn.ativo { border-color: var(--petroleo); background: rgba(15,92,99,0.04); }
.escolha-btn strong { font-size: 1.1rem; display: block; }
.escolha-btn span { color: var(--cinza); font-size: 0.92rem; }

/* Chips de habilidades */
.chips { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 12px; }
.chip {
    padding: 9px 15px;
    border: 1.5px solid var(--borda);
    border-radius: 999px;
    background: #fff;
    cursor: pointer;
    font-size: 0.92rem;
    font-family: inherit;
    transition: all .12s ease;
}
.chip.ativo { background: var(--petroleo); color: #fff; border-color: var(--petroleo); }

.alerta-erro {
    background: #fdecec;
    border: 1px solid #f5c2c2;
    color: #9b1c1c;
    padding: 12px 15px;
    border-radius: var(--raio-sm);
    margin-bottom: 16px;
    font-size: 0.95rem;
}
.alerta-ok {
    background: #e6f6ec;
    border: 1px solid #b7e2c6;
    color: #1a6b3a;
    padding: 12px 15px;
    border-radius: var(--raio-sm);
    margin-bottom: 16px;
    font-size: 0.95rem;
}

/* Loader */
.loader-wrap { text-align: center; padding: 40px 0; }
.spinner {
    width: 46px; height: 46px;
    border: 4px solid var(--borda);
    border-top-color: var(--petroleo);
    border-radius: 50%;
    margin: 0 auto 18px;
    animation: girar 0.8s linear infinite;
}
@keyframes girar { to { transform: rotate(360deg); } }

/* Overlay de geração (tela cheia, dopaminérgico) */
.gerando-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: linear-gradient(160deg, var(--petroleo) 0%, var(--petroleo-escuro) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    overflow-y: auto;
}
.go-inner { width: 100%; max-width: 400px; text-align: center; }
.go-emoji { font-size: 2.8rem; animation: flutuar 1.8s ease-in-out infinite; }
.gerando-overlay h2 { color: #fff; font-size: 1.45rem; margin: 10px 0 22px; }

.go-barra {
    height: 12px;
    background: rgba(255,255,255,0.16);
    border-radius: 999px;
    overflow: hidden;
}
.go-barra-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--destaque), #ffd54f);
    transition: width .45s ease;
    position: relative;
    min-width: 6px;
}
.go-barra-fill::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    animation: brilho 1.4s linear infinite;
}
.go-pct { font-weight: 800; font-size: 1.15rem; margin: 10px 0 26px; color: #ffd54f; }

.go-passos { list-style: none; margin: 0; padding: 0; text-align: left; display: grid; gap: 13px; }
.go-passos li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.97rem;
    color: rgba(255,255,255,0.45);
    transition: color .3s ease;
}
.go-passos li.ativo { color: #fff; font-weight: 600; }
.go-passos li.feito { color: rgba(255,255,255,0.85); }
.go-passos .ic {
    width: 27px; height: 27px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    transition: background .3s ease;
}
.go-passos li.feito .ic { background: var(--sucesso); }
.go-passos .check { font-weight: 800; font-size: 0.95rem; animation: pop .4s cubic-bezier(.2,1.8,.4,1); display: block; }
.go-passos .ponto { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.35); display: block; }
.go-passos .mini-spin {
    width: 14px; height: 14px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #ffd54f;
    border-radius: 50%;
    animation: girar .7s linear infinite;
    display: block;
}
.go-nota { margin-top: 28px; font-size: 0.86rem; color: rgba(255,255,255,0.6); }

@keyframes brilho { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
@keyframes pop { 0% { transform: scale(0); } 100% { transform: scale(1); } }
@keyframes flutuar { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* Upload de foto */
.foto-uploader { display: flex; align-items: center; gap: 14px; }
.foto-uploader .foto-thumb {
    width: 72px; height: 90px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid var(--borda);
    background: #f0efec;
}
.foto-uploader .foto-vazia {
    width: 72px; height: 90px;
    border: 2px dashed var(--borda);
    border-radius: 8px;
    display: grid;
    place-items: center;
    color: var(--cinza-claro);
    font-size: 1.6rem;
    background: #fbfaf7;
}
.foto-uploader .acoes { flex: 1; }
.foto-uploader .btn { padding: 10px 14px; font-size: 0.92rem; }
.foto-remover { background: none; border: none; color: var(--alerta); font-size: 0.88rem; cursor: pointer; margin-top: 6px; font-family: inherit; }

/* ==========================================================================
   PREVIEW do currículo
   ========================================================================== */
.preview-topo { padding: 16px 0 8px; text-align: center; }
.preview-topo h1 { font-size: 1.5rem; }

.tpl-switch {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin: 16px 0;
}
.tpl-switch button {
    flex: 1 1 30%;
    max-width: 180px;
    padding: 11px 8px;
    border: 2px solid var(--borda);
    border-radius: var(--raio-sm);
    background: #fff;
    font-family: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: all .12s ease;
}
.tpl-switch button.ativo { border-color: var(--petroleo); background: rgba(15,92,99,0.06); color: var(--petroleo); }
.tpl-switch button.tpl-premium span { color: var(--destaque); font-weight: 800; }

/* Order bump: pacote de modelos premium */
.pacote {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: #fffaf0;
    border: 2px dashed var(--destaque);
    border-radius: var(--raio-sm);
    padding: 14px;
    margin: 14px 0 16px;
    cursor: pointer;
}
.pacote input { margin-top: 3px; width: 22px; height: 22px; flex: 0 0 auto; accent-color: var(--petroleo); }
.pacote .pacote-tag {
    display: inline-block; background: var(--destaque); color: #3a2c00;
    font-size: 0.68rem; font-weight: 800; letter-spacing: 0.5px;
    padding: 2px 8px; border-radius: 999px; margin-bottom: 4px;
}
.pacote strong { display: block; font-size: 0.95rem; line-height: 1.35; }
.pacote small { color: var(--cinza); line-height: 1.4; display: block; margin-top: 3px; }

/* "Papel" do currículo com marca d'água (só no preview) */
.cv-paper {
    position: relative;
    background: #fff;
    border: 1px solid var(--borda);
    border-radius: 6px;
    box-shadow: var(--sombra-forte);
    padding: 34px 30px;
    overflow: hidden;
    max-width: 720px;
    margin: 0 auto;
}
.cv-watermark {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 5;
    background-image: repeating-linear-gradient(
        -35deg,
        rgba(15, 92, 99, 0.055) 0 26px,
        rgba(15, 92, 99, 0.0) 26px 130px
    );
}
.cv-watermark span {
    position: absolute;
    top: 46%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-30deg);
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: rgba(15, 92, 99, 0.13);
    white-space: nowrap;
    text-transform: uppercase;
}

/* Nota do currículo (anel + pontos fortes) */
.nota-box {
    display: flex; align-items: center; gap: 16px;
    background: #fff; border: 1px solid var(--borda); border-radius: var(--raio);
    padding: 14px 16px; max-width: 720px; margin: 0 auto 16px;
    box-shadow: var(--sombra);
}
.nota-anel {
    --p: 0;
    width: 74px; height: 74px; border-radius: 50%; flex: 0 0 auto;
    background: conic-gradient(var(--sucesso) calc(var(--p) * 1%), #e9e6df 0);
    display: flex; align-items: center; justify-content: center;
}
.nota-anel > span {
    width: 58px; height: 58px; border-radius: 50%; background: #fff;
    display: flex; align-items: baseline; justify-content: center; padding-top: 16px;
    font-weight: 800; font-size: 1.35rem; color: var(--petroleo);
}
.nota-anel small { font-size: 0.7rem; color: var(--cinza-claro); font-weight: 700; }
.nota-info strong { display: block; font-size: 0.95rem; margin-bottom: 4px; }
.nota-info ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.nota-info li { font-size: 0.84rem; color: var(--sucesso); font-weight: 600; line-height: 1.35; }

/* Contador de prova social no hero */
.hero-contador { margin-top: 12px; font-size: 0.95rem; color: rgba(255,255,255,0.92); }
.hero-contador strong { color: var(--destaque); }

/* Prévia trancada: mostra só o começo do currículo antes do pagamento */
.cv-trancado {
    max-height: 470px;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
}
.cv-lock {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 6;
    padding: 110px 24px 28px;
    text-align: center;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.92) 40%, #fff 64%);
}
.cv-lock strong { display: block; font-size: 1.05rem; color: var(--petroleo); }
.cv-lock p { font-size: 0.9rem; color: var(--cinza); margin: 6px auto 14px; max-width: 420px; line-height: 1.45; }
.cv-lock .btn { width: auto; padding: 13px 24px; font-size: 16px; }

/* Aviso de guarda (urgência honesta) */
.guarda-aviso {
    text-align: center;
    font-size: 0.88rem;
    color: #8a6100;
    background: #fff7e0;
    border: 1px solid #f2dfa6;
    border-radius: var(--raio-sm);
    padding: 10px 14px;
    max-width: 720px;
    margin: 14px auto 0;
}

/* Comparativo: modelo pronto vs. o seu */
.versus { max-width: 720px; margin-left: auto; margin-right: auto; }
.versus h2 { font-size: 1.15rem; text-align: center; margin-bottom: 14px; }
.versus-grid { display: grid; gap: 10px; }
.versus-card {
    background: #fff;
    border: 1px solid var(--borda);
    border-radius: var(--raio);
    padding: 16px;
}
.versus-card h3 { font-size: 0.95rem; margin-bottom: 10px; }
.versus-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.versus-card li { font-size: 0.88rem; line-height: 1.4; }
.versus-card.ruim { opacity: 0.85; }
.versus-card.ruim h3 { color: var(--cinza); }
.versus-card.ruim li { color: var(--cinza); }
.versus-card.bom { border: 2px solid var(--petroleo); background: #f3f9f9; }
.versus-card.bom h3 { color: var(--petroleo); }
@media (min-width: 560px) {
    .versus-grid { grid-template-columns: 1fr 1fr; }
}

/* Caixa de checkout / preço */
.checkout-box {
    max-width: 720px;
    margin: 22px auto 0;
    background: #fff;
    border: 2px solid var(--petroleo);
    border-radius: var(--raio);
    padding: 22px;
    box-shadow: var(--sombra);
}
/* Pilha de valor (o que o cliente leva + âncora de preço) */
.pilha { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 9px; }
.pilha li {
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 10px;
    font-size: 0.92rem; line-height: 1.4; color: var(--carvao);
    border-bottom: 1px dashed var(--borda); padding-bottom: 9px;
}
.pilha li:last-child { border-bottom: none; }
.pilha li span { flex: 1 1 230px; }
.pilha li em { font-style: normal; white-space: nowrap; font-size: 0.76rem; color: var(--cinza-claro); margin-left: auto; }
.pilha li em.gratis { color: var(--sucesso); font-weight: 800; }
.pilha-total { text-align: right; font-size: 0.9rem; color: var(--cinza); margin: 4px 0 2px; }
.pilha-total s { color: #9b1c1c; }
.total-linha { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.total-linha .rotulo { color: var(--cinza); }
.total-linha .valor { font-size: 1.8rem; font-weight: 800; color: var(--petroleo); }

/* Página dedicada do pagamento (/pagar) */
.pagar-wrap { max-width: 520px; padding-top: 22px; }
.pagar-resumo { padding: 14px 16px; }
.pagar-resumo .linha {
    display: flex; justify-content: space-between; align-items: baseline;
    font-size: 0.92rem; padding: 6px 0; border-bottom: 1px dashed var(--borda);
}
.pagar-resumo .linha:last-child { border-bottom: none; }
.pagar-resumo .linha .verde { color: var(--sucesso); font-weight: 800; font-size: 0.85rem; }
.pagar-resumo .linha.total { font-size: 1.05rem; }
.pagar-resumo .linha.total strong { font-size: 1.3rem; color: var(--petroleo); }
.pagar-acao { padding: 18px 16px; }
.pagar-passos { margin: 16px 0 0; padding: 0 0 0 20px; display: grid; gap: 9px; font-size: 0.92rem; line-height: 1.45; }
.pagar-status {
    margin-top: 16px; text-align: center; font-size: 0.88rem; font-weight: 700; color: var(--petroleo);
    background: #eef6f6; border-radius: var(--raio-sm); padding: 10px 12px;
}
.pagar-status .pulso {
    display: inline-block; width: 9px; height: 9px; border-radius: 50%;
    background: var(--sucesso); margin-right: 4px;
    animation: pulso 1.4s ease-in-out infinite;
}
@keyframes pulso { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
.pagar-detalhes {
    background: #fff; border: 1px solid var(--borda); border-radius: var(--raio); padding: 12px 16px;
}
.pagar-detalhes summary { cursor: pointer; font-size: 0.9rem; font-weight: 700; color: var(--cinza); }
.pagar-qr { display: block; margin: 0 auto; width: 200px; height: 200px; border: 1px solid var(--borda); border-radius: 8px; }

/* Banner "PIX pendente" na prévia */
.pix-banner {
    display: block; text-align: center;
    background: #eef6f6; border: 1.5px solid var(--petroleo);
    color: var(--petroleo); border-radius: var(--raio-sm);
    padding: 12px 14px; margin-bottom: 16px; font-size: 0.95rem;
}
.pix-banner:hover { background: #e2f0f0; }

/* Área do PIX (preenchida no checkout) */
.pix-area { text-align: center; }
.pix-area img { margin: 0 auto 14px; width: 220px; height: 220px; border: 1px solid var(--borda); border-radius: 8px; }
.pix-copia {
    display: flex; gap: 8px; margin-top: 10px;
}
.pix-copia input { font-size: 12px; }
.pix-status { margin-top: 14px; font-weight: 700; }
.pix-status.pago { color: var(--sucesso); }

/* Lista de valor (o que o cliente leva) */
.valor-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.valor-lista li { font-size: 0.95rem; line-height: 1.45; color: var(--carvao); }
.ancora { font-size: 0.88rem; margin-top: 14px; font-style: italic; }

/* Timer de expiração do PIX */
.pix-timer {
    margin-top: 14px;
    font-size: 0.95rem;
    color: var(--alerta);
    font-weight: 600;
}

/* O que acontece depois do pagamento */
.depois { display: grid; gap: 9px; }
.depois-passo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--cinza);
}
.depois-passo span {
    flex: 0 0 auto;
    width: 22px; height: 22px;
    display: grid; place-items: center;
    background: rgba(15,92,99,0.1);
    color: var(--petroleo);
    border-radius: 50%;
    font-weight: 800;
    font-size: 0.78rem;
}

/* Estado "pagamento confirmado" */
.pago-area { padding: 8px 0; }
.pago-check {
    width: 64px; height: 64px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: var(--sucesso);
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
    display: grid;
    place-items: center;
    animation: pop .45s cubic-bezier(.2,1.8,.4,1);
    box-shadow: 0 6px 24px rgba(26,138,74,0.35);
}

/* ==========================================================================
   ADMIN — métricas
   ========================================================================== */
.admin-wrap { max-width: 1000px; margin: 0 auto; padding: 20px; }
.admin-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 16px 0 22px; }
.admin-card {
    background: #fff; border: 1px solid var(--borda); border-radius: var(--raio); padding: 16px;
    box-shadow: var(--sombra); text-align: center;
}
.admin-card .num { font-size: 1.7rem; font-weight: 800; color: var(--petroleo); }
.admin-card .rot { font-size: 0.82rem; color: var(--cinza); text-transform: uppercase; letter-spacing: .5px; }

.tabela-scroll { overflow-x: auto; border: 1px solid var(--borda); border-radius: var(--raio); background: #fff; }
table.metricas { width: 100%; border-collapse: collapse; font-size: 0.85rem; min-width: 760px; }
table.metricas th, table.metricas td { padding: 9px 10px; text-align: center; border-bottom: 1px solid #eee; white-space: nowrap; }
table.metricas thead th { background: var(--petroleo); color: #fff; font-weight: 700; position: sticky; top: 0; }
table.metricas td.dia { text-align: left; font-weight: 700; }
table.metricas tr:hover td { background: #f7faf9; }
table.metricas .taxa { color: var(--cinza); font-size: 0.72rem; display: block; }
table.metricas tfoot td { font-weight: 800; background: #f0f5f5; border-top: 2px solid var(--petroleo); }
table.metricas .receita { color: var(--sucesso); font-weight: 700; }

.login-box { max-width: 380px; margin: 60px auto; }

/* Topbar + navegação do admin ------------------------------------------- */
.admin-topbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.admin-nav { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.admin-nav a {
    color: rgba(255,255,255,0.82); font-size: 0.9rem; font-weight: 600;
    padding: 6px 12px; border-radius: 999px;
}
.admin-nav a:hover { color: #fff; background: rgba(255,255,255,0.12); }
.admin-nav a.ativo { color: #fff; background: rgba(255,255,255,0.18); }

/* Busca ----------------------------------------------------------------- */
.admin-busca { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.admin-busca input[type="search"] {
    padding: 9px 12px; border: 1px solid var(--borda); border-radius: var(--raio-sm);
    font-family: inherit; font-size: 0.9rem; min-width: 240px;
}
.btn-sm { width: auto; padding: 8px 16px; font-size: 0.85rem; }

/* Tabela de gerações ---------------------------------------------------- */
table.geracoes { min-width: 860px; }
table.geracoes td { text-align: left; }
table.geracoes th { text-align: left; }
table.geracoes .td-nome { font-weight: 700; color: var(--petroleo); }
table.geracoes .td-contato span { display: block; font-size: 0.8rem; }
table.geracoes .receita { text-align: left; }

/* Pílulas de status ----------------------------------------------------- */
.status-pill {
    display: inline-block; padding: 3px 10px; border-radius: 999px;
    font-size: 0.74rem; font-weight: 700; white-space: nowrap;
}
.st-rascunho { background: #eceae5; color: #6b7280; }
.st-preview  { background: #e3f0f2; color: var(--petroleo); }
.st-pix      { background: #fff2d6; color: #8a6100; }
.st-pago     { background: #dcf3e6; color: var(--sucesso); }
.st-entregue { background: var(--petroleo); color: #fff; }

.admin-vazio { text-align: center; color: var(--cinza); padding: 40px 20px; background: #fff; border: 1px solid var(--borda); border-radius: var(--raio); }

/* Paginação ------------------------------------------------------------- */
.admin-paginacao { display: flex; justify-content: center; align-items: center; gap: 16px; margin: 18px 0; font-size: 0.9rem; }
.admin-paginacao a { font-weight: 700; }
.admin-paginacao .off { color: var(--cinza-claro); }
.admin-paginacao .pag-atual { color: var(--cinza); }

/* Detalhe da geração ---------------------------------------------------- */
.admin-voltar { display: inline-block; font-weight: 700; margin-bottom: 8px; }
.ger-meta {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px 18px;
    background: #fff; border: 1px solid var(--borda); border-radius: var(--raio); padding: 16px; margin-bottom: 16px;
}
.ger-meta div { min-width: 0; overflow-wrap: anywhere; font-size: 0.92rem; }
.ger-meta .rot { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: .5px; color: var(--cinza-claro); margin-bottom: 2px; }
.ger-vaga { background: #fff; border: 1px solid var(--borda); border-radius: var(--raio); padding: 16px; margin-bottom: 16px; }
.ger-vaga .rot { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: .5px; color: var(--cinza-claro); margin-bottom: 6px; }
.ger-vaga p { font-size: 0.9rem; color: var(--cinza); margin: 0; }
.ger-sec { font-size: 1.15rem; margin: 24px 0 10px; }
.cv-preview-wrap { background: #fff; border: 1px solid var(--borda); border-radius: var(--raio); padding: 24px; overflow-x: auto; }

/* Área do cliente (minha conta) ----------------------------------------- */
.conta-lista { display: grid; gap: 12px; }
.conta-item { background: #fff; border: 1px solid var(--borda); border-radius: var(--raio); padding: 16px; box-shadow: var(--sombra); }
.conta-item-topo { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.conta-titulo { display: block; font-size: 1.05rem; color: var(--petroleo); }
.conta-data { display: block; font-size: 0.82rem; color: var(--cinza); margin-top: 2px; }
.conta-acoes { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.conta-ver { font-size: 0.85rem; color: var(--cinza); align-self: center; }
.conta-ver:hover { color: var(--petroleo); }

@media (max-width: 560px) {
    .admin-cards { grid-template-columns: 1fr; }
    .admin-busca input[type="search"] { min-width: 0; flex: 1; }
    .cv-preview-wrap { padding: 14px; }
}

/* Desktop tweaks */
@media (min-width: 700px) {
    body { font-size: 18px; }
    h1 { font-size: 2.6rem; }
    .hero h1 { font-size: 2.8rem; }
    .passos { grid-template-columns: 1fr; }
}
