.logo-marca {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    max-width: 100%;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    vertical-align: middle;
}

.logo-marca img {
    display: block;
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.logo-marca-fundo-claro {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.logo-marca-fundo-escuro {
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-marca-iniciais {
    background: var(--primary-color);
    color: var(--sobre-marca, #fff);
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1;
    border-radius: 50%;
}

.logo-marca-topo { height: 40px; padding: 4px 8px; border-radius: 8px; }
.logo-marca-previa { height: 56px; padding: 6px 10px; border-radius: 10px; }

.logo-marca.logo-marca-fundo-proprio,
.logo-marca-previa.logo-marca-fundo-claro { padding: 0; border: 0; background: transparent; }

.logo-marca-topo.logo-marca-iniciais { width: 36px; height: 36px; padding: 0; font-size: 0.9rem; }
.logo-marca-previa.logo-marca-iniciais { width: 56px; height: 56px; padding: 0; font-size: 1.2rem; }

.marca-campo {
    max-width: 640px;
}

.marca-previa {
    display: flex;
    align-items: center;
    min-height: 56px;
    margin-bottom: 0.5rem;
}

.capa-previa {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 1;
    margin-bottom: 0.5rem;
    border-radius: 10px;
    overflow: hidden;
    background-color: color-mix(in srgb, var(--primary-color, #3a3f4b) 70%, #0b0f14);
    background-size: cover;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
}

.capa-previa.com-foto::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.65));
}

.capa-topo { background-position: center top; }
.capa-centro { background-position: center center; }
.capa-base { background-position: center bottom; }

.marca-opcoes {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    margin-top: 0.5rem;
}

.marca-opcoes select {
    width: auto;
}

.capa-previa span {
    position: relative;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
