:root {
    --vermelho: #9a2428;
    --vermelho-escuro: #74181b;
    --tinta: #241f1f;
    --cinza: #6f6767;
    --linha: #efe6e6;
    --fundo: #f6f3f2;
    --branco: #ffffff;
    --sombra: 0 24px 60px rgba(36, 31, 31, 0.08);
    --raio: 28px;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(1100px 480px at -10% -20%, rgba(154, 36, 40, 0.16), transparent 60%),
        radial-gradient(800px 420px at 110% -10%, rgba(154, 36, 40, 0.08), transparent 55%),
        linear-gradient(180deg, #fbf8f8 0%, var(--fundo) 280px);
    color: var(--tinta);
    font-family: Cairo, "Segoe UI", sans-serif;
    font-size: 16px;
}

.topo {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    margin: 0;
    padding: 14px 32px;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid #f0d8d8;
    backdrop-filter: blur(16px);
}

.marca img { height: 44px; width: auto; display: block; }

.topo-etiqueta {
    font-family: Exo, Cairo, sans-serif;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--vermelho);
    font-weight: 700;
    font-size: 11px;
    background: #fff1f1;
    border-radius: 999px;
    padding: 8px 14px;
}

.passos {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    width: min(520px, calc(100% - 48px));
    margin: 28px auto 0;
    padding: 0;
    list-style: none;
    position: relative;
}

.coluna-larga .passos { width: min(1080px, calc(100% - 48px)); }

.passos::before {
    content: "";
    position: absolute;
    left: 28px;
    right: 28px;
    top: 16px;
    height: 2px;
    background: #eadfdf;
}

.passo {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1 1 0;
    min-width: 0;
    color: var(--cinza);
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}

.passo-indice {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #eadfdf;
    font-family: Exo, Cairo, sans-serif;
}

.passo.ativo { color: var(--vermelho); }
.passo.ativo .passo-indice,
.passo.feito .passo-indice {
    background: var(--vermelho);
    border-color: var(--vermelho);
    color: #fff;
    box-shadow: 0 8px 18px rgba(154, 36, 40, 0.28);
}

.pagina {
    flex: 1 0 auto;
    width: min(520px, calc(100% - 48px));
    margin: 20px auto 32px;
}

.coluna-larga .pagina { width: min(1080px, calc(100% - 48px)); }

.cartao, .secao {
    background: rgba(255, 255, 255, 0.94);
    padding: 36px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--raio);
    box-shadow: var(--sombra);
}

.cartao { width: 100%; }

.sobretitulo {
    margin: 0 0 8px;
    color: var(--vermelho);
    font-family: Exo, Cairo, sans-serif;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 700;
}

h1 {
    margin: 0 0 12px;
    font-family: Exo, Cairo, sans-serif;
    font-size: 36px;
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -0.04em;
}

h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    font-family: Exo, Cairo, sans-serif;
    font-size: 20px;
    letter-spacing: -0.03em;
}

h2 span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--vermelho);
    box-shadow: 0 0 0 6px #fff1f1;
    font-size: 0;
    flex: none;
}

h3 {
    margin: 8px 0 0;
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--cinza);
    font-weight: 700;
}

.texto { margin: 0; color: var(--cinza); line-height: 1.6; }

.formulario, .secao, .formulario-largo { display: grid; gap: 18px; }

.formulario-largo {
    background: transparent;
    padding: 0;
    border: 0;
    box-shadow: none;
}

.canais { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.canal {
    border: 1px solid transparent;
    background: #f7f3f3;
    border-radius: 18px;
    padding: 16px;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 700;
    transition: 0.18s ease;
}

.canal input { width: auto; min-height: 0; }
.canal span { white-space: nowrap; }

.canal:has(input:checked) {
    background: #fff;
    color: var(--vermelho);
    box-shadow: inset 0 0 0 1.5px var(--vermelho), 0 10px 24px rgba(154, 36, 40, 0.08);
}

.campo, label {
    display: grid;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #4d4545;
}

input, select, textarea {
    width: 100%;
    border: 0;
    background: #f6f2f2;
    color: var(--tinta);
    font: inherit;
    font-weight: 500;
    padding: 14px 16px;
    min-height: 52px;
    border-radius: 16px;
    transition: 0.18s ease;
}

textarea { min-height: 110px; resize: vertical; border-radius: 20px; }

input:focus, select:focus, textarea:focus {
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(154, 36, 40, 0.12);
}

input[readonly] { color: var(--cinza); }

input[type="radio"],
input[type="checkbox"] { accent-color: var(--vermelho); }

.codigo-input {
    letter-spacing: 0.45em;
    text-align: center;
    font-family: Exo, Cairo, sans-serif;
    font-size: 28px;
    font-weight: 700;
    border-radius: 20px;
}

.grade {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 18px;
}

.grade-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

fieldset {
    border: 0;
    border-radius: 18px;
    margin: 0;
    padding: 14px 16px;
    display: flex;
    gap: 16px;
    align-items: center;
    min-height: 52px;
    background: #f6f2f2;
}

legend { padding: 0; font-size: 12px; }

.check, .checks label, fieldset label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.check input, fieldset input, .atividade input[type="checkbox"], .arquivo input { width: auto; min-height: 0; }

.botao {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 0;
    background: linear-gradient(180deg, #b43337, var(--vermelho-escuro));
    color: var(--branco);
    font-family: Exo, Cairo, sans-serif;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 999px;
    cursor: pointer;
    box-shadow: 0 14px 28px rgba(154, 36, 40, 0.24);
}

.botao:hover { transform: translateY(-1px); }

.formulario .botao { width: 100%; }

.coluna-larga .acoes .botao { width: auto; min-width: 220px; }

.botao-claro {
    background: #fff;
    color: var(--vermelho);
    box-shadow: none;
    border: 1px solid #f0d8d8;
}

.botao-linkedin {
    width: 100%;
    background: #0a66c2;
    box-shadow: 0 14px 28px rgba(10, 102, 194, 0.22);
}

.divisor {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
    color: var(--cinza);
    font-size: 13px;
    font-weight: 700;
}

.divisor::before,
.divisor::after {
    content: "";
    height: 1px;
    background: #eadfdf;
}

.acoes { display: flex; justify-content: flex-end; position: sticky; bottom: 16px; }

.acoes .botao { min-width: 220px; }

.acoes-secundarias {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
}

.item {
    display: grid;
    gap: 14px;
    padding: 18px;
    border-radius: 22px;
    background: #fbf8f8;
}

.aviso, .alerta {
    width: 100%;
    background: #fff6f6;
    border-radius: 18px;
    padding: 14px 18px;
    margin: 0 0 16px;
    color: var(--tinta);
    line-height: 1.5;
}

.aviso-interno { box-shadow: none; }

.alerta ul { margin: 8px 0 0; padding-left: 18px; }

.erro { color: var(--vermelho-escuro); font-weight: 700; }

small { color: var(--cinza); font-weight: 600; }

.link-botao {
    background: none;
    border: 0;
    color: var(--vermelho);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
}

.atividades, .checks { display: grid; gap: 10px; }

.atividade {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
    border-radius: 18px;
    background: #f6f2f2;
}

.arquivo {
    display: grid;
    justify-items: center;
    gap: 6px;
    text-align: center;
    padding: 28px 18px;
    border-radius: 24px;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, #e7c6c6, #f6eeee) border-box;
    border: 1.5px dashed #e4c8c8;
    cursor: pointer;
}

.arquivo input { margin-top: 8px; }

.arquivo-selo {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--vermelho);
    background: #fff1f1;
    border-radius: 999px;
    padding: 6px 10px;
}

.arquivo-titulo { font-family: Exo, Cairo, sans-serif; font-size: 20px; color: var(--tinta); }
.arquivo-dica { color: var(--cinza); font-weight: 600; }

.sucesso .botao { margin-top: 8px; }

.rodape {
    margin-top: auto;
    text-align: center;
    color: var(--cinza);
    font-size: 13px;
    padding: 20px 24px 24px;
    background: rgba(255, 255, 255, 0.72);
    border-top: 1px solid #f0d8d8;
}

.rodape p { margin: 4px 0; }

abbr { color: var(--vermelho); text-decoration: none; }

@media (max-width: 800px) {
    .topo { padding: 12px 16px; }
    .topo-etiqueta { display: none; }
    .marca img { height: 34px; max-width: 180px; }
    .passo { font-size: 11px; }
    .passos::before { left: 16px; right: 16px; }
    h1 { font-size: 30px; }
    .grade, .grade-2, .canais, .atividade { grid-template-columns: 1fr; }
    .cartao, .secao { padding: 22px; border-radius: 24px; }
    .acoes { position: static; }
    .acoes .botao, .formulario .botao { width: 100%; }
}
